2013年12月29日星期日

Configure HWIC-4ESW with three vlans in a Cisco 2811 router

I would like to setup a VOICE lab at home and has purchased two HWIC-2FE  cards for SiteB(BR1) and SiteC(BR2).I need to configure thre VLANS in each router.Could you please show me how to configure it.....your help is appreciated.......thnx
Configure an Ethernet/Fast Ethernet Interface
Int f0/0
   Ip address [IP] [mask]
   No shut
   Exit
interface FastEthernet [PORT#].10
   encapsulation dot1q 10
   ip address [IP] [mask]
   no shutdown
   exit
interface FastEthernet [PORT#].20
   encapsulation dot1q 20
   ip address [IP] [mask]
   no shutdown
   exit

Vlan 10
     name Voice
     Exit

Vlan 20
     name Voice
     Exit
Interface range ethernet 0/1 - 4
   Switchport mode access
   Switchport access vlan 20
   Switchport voice vlan 10
In my experience, the 2811 router does not allow the "vlan 10" and "vlan 20" sections.  In other words, you cannot configure the VLANs for the 4ESW in global config mode.  You need to configure these from vlan database:
Router#vlan database
Router(vlan)#vlan 10 name Name-Vlan10
Router(vlan)#vlan 20 name Name-Vlan20
Router(vlan)#vlan 30 name Name-Vlan30
Router(vlan)#exit
APPLY completed.
Exiting  EHWIC-1GE-SFP-CU....

Router#

没有评论:

发表评论