Specifications
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
106
Setting the Interface Duplex Mode: Example
The following example shows the interface duplex mode being set to full on Fast Ethernet interface
0/3/7:
Router(config)# interface fastethernet 0/3/7
Router(config-if)# duplex full
Adding a Description for an Interface: Example
The following example shows how to add a description of Fast Ethernet interface 0/3/7:
Router(config)# interface fastethernet 0/3/7
Router(config-if)# description Link to root switch
Stacking: Example
The following example shows how to stack two HWICs.
Router(config)# interface FastEthernet 0/1/8
Router(config-if)# no shutdown
Router(config-if)# switchport stacking-partner interface FastEthernet 0/3/8
Router(config-if)# interface FastEthernet 0/3/8
Router(config-if)# no shutdown
Note In practice, the command switchport stacking-partner interface FastEthernet
0/partner-slot/partner-port needs to be executed for only one of the stacked ports. The other port will be
automatically configured as a stacking port by the Cisco IOS software. The command no shutdown,
however, must be executed for both of the stacked ports.
VLAN Configuration: Example
The following example shows how to configure inter-VLAN routing:
Router# vlan database
Router(vlan)# vlan 1
Router(vlan)# vlan 2
Router(vlan)# exit
Router# configure terminal
Router(config)# interface vlan 1
Router(config-if)# ip address 10.1.1.1 255.255.255.0
Router(config-if)# no shut
Router(config-if)# interface vlan 2
Roouter(config-if)# ip address 10.2.2.2 255.255.255.0
Router(config-if)# no shut
Router(config-if)# interface FastEthernet 0/1/0
Router(config-if)# switchport access vlan 1
Router(config-if)# interface Fast Ethernet 0/1/1
Router(config-if)# switchport access vlan 2
Router(config-if)# exit
VLAN Trunking Using VTP: Example
The following example shows how to configure the switch as a VTP server: