5-35
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)SG
OL-30933-01
Chapter 5 Configuring Virtual Switching Systems
Configuring a VSS
Perform the following task on Switch 2:
Note The switch number is not stored in the startup or running configuration, because both switches use the
same configuration file (but must not have the same switch number).
Configuring VSL Port Channel and Ports
The VSL is configured with a unique port channel on each switch. During the conversion, the VSS
configures both port channels on the VSS Active switch. If the VSS Standby switch VSL port channel
number has been configured for another use, the VSS comes up in RPR mode. To avoid this situation,
check that both port channel numbers are available on both of the switches.
Check the port channel number with the show running-config interface port-channel command. The
command displays an error message if the port channel is available for VSL. For example, the following
command shows that port channel 20 is available on Switch 1:
Switch-1 # show running-config interface port-channel 20
% Invalid input detected at '^' marker.
To configure the VSL port channels, perform this task on Switch 1:
Note The port channels 10 and 20 mentioned in the configuration steps below are exemplary only. You can
configure any port channel number from 1-64 for VSL port channel.
Perform the following task on Switch 2:
Command Purpose
Step 1
Switch-2(config)# switch virtual domain 100
Configures the virtual switch domain on Switch B.
Step 2
Switch-2(config-vs-domain)# switch 2
Configures Switch B as virtual switch number 2.
Step 3
Switch-2(config-vs-domain)# exit
Exits config-vs-domain.
Command Purpose
Step 1
Switch-1(config)# interface port-channel 10
Configures port channel 10 on Switch 1.
Step 2
Switch-1(config)# switchport
Convert to a Layer 2 port.
Step 3
Switch-1(config-if)# switch virtual link 1
Associates Switch 1 as owner of port channel 10.
Step 4
Switch-1(config-if)# no shutdown
Activates the port channel.
Step 5
Switch-1(config-if)# exit
Exits interface configuration.
Command Purpose
Step 1
Switch-2(config)# interface port-channel 20
Configures port channel 20 on Switch 2.
Step 2
Switch-1(config)# switchport
Convert to a Layer 2 port.
Step 3
Switch-2(config-if)# switch virtual link 2
Associates Switch 2 as owner of port channel 20.