Installation guide
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
73
Cisco IOS Release 12.3(8)T4
OL-6454-01
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 1.1.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#interface vlan 2
Roouter(config-if)#ip address 2.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:
Router# vlan database
Router(vlan)# vtp server
Setting device to VTP SERVER mode.
Router(vlan)# vtp domain Lab_Network
Setting VTP domain name to Lab_Network
Router(vlan)# vtp password WATER
Setting device VLAN database password to WATER.
Router(vlan)# exit
APPLY completed.
Exiting....
Router#
The following example shows how to configure the switch as a VTP client:
Router# vlan database
Router(vlan)# vtp client
Setting device to VTP CLIENT mode.
Router(vlan)# exit
In CLIENT state, no apply attempted.
Exiting....
Router#
The following example shows how to configure the switch as VTP transparent:
Router# vlan database
Router(vlan)# vtp transparent
Setting device to VTP TRANSPARENT mode.