You are on page 1of 29

VSS

Virtual Switching System

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Conversion VSS
The conversion of the two 6500 switches into a single VSS is relatively straightforward and can be summarized into the following steps: Configure the Virtual Switch Domain on both devices and designate each switch as either Switch 1 or Switch 2 Configure the appropriate Priority settings (Optional) Configure the Virtual Switch Links Execute the Conversion command after which the switches will reboot Re-configure Standby Switchs VSL on the Active Switch and save the configuration

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Virtual Switch Domain


The Virtual Switch Domain is defined as the grouping of the 2 members of the Virtual Switching System as is assigned an ID; this ID is configured in global configuration mode and is recommended to be unique for the Layer 2 network it will be part of. Virtual Switch Domain IDs can be in the range of 1-255, and must match on both members of the Virtual Switch Domain.

Switch 1

Switch 2 VSL

Virtual Switch Domain X


Elaborado por Guillermo Muoz M.
2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configuring VSS
On Switch 1:

vss-sw1#conf t Enter configuration commands, one per line. End with CNTL/Z. vss-sw1(config)#switch virtual domain x Domain ID 1 config will take effect only after the exec command 'switch convert mode virtual' is issued
vss-sw1(config-vs-domain)#switch 1 vss-sw1(config-vs-domain)#

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configuring VSS
On Switch 2:

vss-sw2#conf t Enter configuration commands, one per line. End with CNTL/Z. vss-sw2(config)#switch virtual domain x Domain ID 1 config will take effect only after the exec command 'switch convert mode virtual' is issued
vss-sw2(config-vs-domain)#switch 2 vss-sw2(config-vs-domain)#

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configure Priority Settings (Optional)


Still under vs-domain configuration sub-mode, assign Switch IDs and their respective priorities. Note that for the purposes of synchronizing all the configs, both priorities levels need to be applied on both switches. The VSS priorities are similar to HSRP, where the higher priority node will assume the active mode. If priorities have not been configured or are of the same value, then the switch with the lower Switch ID (Switch 1) will assume the role of the Active Virtual Switch.

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configure Priority Settings (Optional)


On Switch 1:

vss-sw1(config-vs-domain)#switch 1 priority 110 vss-sw1(config-vs-domain)#switch 2 priority 100

On Switch 2: vss-sw2(config-vs-domain)#switch 1 priority 110 vss-sw2(config-vs-domain)#switch 2 priority 100

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configure the Virtual Switch Link (VSL)


The Virtual Switch Link is a special link, containing 1 or more physical ports that will allow configuration and stateful information to be exchanged between the 2 physical switches. The VSL appends a special header (Virtual Switch Header) onto each frame that is sent across the wire.

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configure the Virtual Switch Link (VSL)


On Switch 1:

vss-sw1(config)#interface port-channel 1 vss-sw1(config)#no shut vss-sw1(config-if)#switch virtual link 1 vss-sw1(config-if)#exit vss-sw1(config)#interface range tenGigabitEthernet 1/4 - 5 vss-sw1(config-if-range)#no shut vss-sw1(config-if-range)#channel-group 1 mode on vss-sw1(config-if-range)#^Z

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

Configure the Virtual Switch Link (VSL)


On Switch 2:

vss-sw2(config)#int port-channel 2 vss-sw2(config-if)#no shut vss-sw2(config-if)#switch virtual link 2 vss-sw2(config-if)#exit vss-sw2(config)#interface range tenGigabitEthernet 1/4 5 vss-sw2(config-if-range)#no shut vss-sw2(config-if-range)#channel-group 2 mode on vss-sw2(config-if-range)#^Z

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

10

Executing the Conversion


To proceed with the conversion process, execute the switch convert mode virtual command in enable mode. By doing so, it will convert the interface names to a 3-numbered notation, save the configuration and reload the switch. The reload is necessary for a few reasons: The merging of the 2 configurations into a single configuration The re-numbering of port conventions from slot/port to switchnumber/slot/port The negotiation of Active/Standby role through NSF/SSO which only occurs on bootup

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

11

Executing the Conversion


On Switch 1:

vss-sw1#switch convert mode virtual


This command will convert all interface names to naming convention "interface-type switch-number/slot/port", save the running config to startup-config and reload the switch. Do you want to proceed? [yes/no]: yes Converting interface names Building configuration...

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

12

Executing the Conversion


On Switch 2:

vss-sw2#switch convert mode virtual


This command will convert all interface names to naming convention "interface-type switch-number/slot/port", save the running config to startup-config and reload the switch. Do you want to proceed? [yes/no]: yes Converting interface names Building configuration...

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

13

Executing the Conversion


At this stage, if you verify the information on the Switch Processor (SP), you will observe the reboot messages scrolling across the screen shortly.

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

14

Executing the Conversion


On Switch 1: *** *** --- SHUTDOWN NOW --***

1d18h: %SYS-SP-5-RELOAD: Reload requested System Bootstrap, Version 8.5(1) Copyright (c) 1994-2006 by cisco Systems, Inc. Cat6k-Sup720/SP processor with 1048576 Kbytes of main memory
Autoboot executing command: "boot bootdisk:s72033-adventerprisek9_dbgvz.SIERRA_INTEG_070331" Loading image, please wait ... <snip> System detected Virtual Switch configuration... Interface TenGigabitEthernet 1/1/4 is member of PortChannel 1 Interface TenGigabitEthernet 1/1/5 is member of PortChannel 1 <snip> 00:00:22: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor for this switch <snip> 00:00:28: %VSL_BRINGUP-6-MODULE_UP: VSL module in slot 1 switch 1 brought up Initializing as Virtual Switch active
Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

15

Executing the Conversion


On Switch 2: *** *** --- SHUTDOWN NOW --***

1d18h: %SYS-SP-5-RELOAD: Reload requested System Bootstrap, Version 8.5(1) Copyright (c) 1994-2006 by cisco Systems, Inc. Cat6k-Sup720/SP processor with 1048576 Kbytes of main memory
Autoboot executing command: "boot bootdisk:s72033-adventerprisek9_dbgvz.SIERRA_INTEG_070331" Loading image, please wait ... <snip> System detected Virtual Switch configuration... Interface TenGigabitEthernet 2/1/4 is member of PortChannel 2 Interface TenGigabitEthernet 2/1/5 is member of PortChannel 2 <snip> 00:00:23: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor for this switch <snip> 00:00:28: %VSL_BRINGUP-6-MODULE_UP: VSL module in slot 1 switch 2 brought up Initializing as Virtual Switch standby
Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

16

Executing the Conversion


Upon the completion of the bootup process, you will notice that only the Active switch (Switch 1 in this case) Route Processor is accessible. Switch 2s console is no longer available, since all management, troubleshooting and management can be accomplished on the Active Switchs console. Also note that the prompt of Switch 2 has changed
On Switch 2s console: vss-sw1-sdby> Standby console disabled vss-sw1-sdby> Standby console disabled vss-sw1-sdby> Standby console disabled vss-sw1-sdby>
Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

17

Completing the Conversion


After the conversion process, This final critical step is only applicable for a first-time conversion. Once the Standby Virtual Switch is in Stateful SwitchOver (SSO) Hot mode, the user will be required to execute the following command to automatically configure the Standby Virtual Switch configuration on the Active Virtual Switch:
VSS#switch accept mode virtual This command will bring in all VSL configurations from the standby switch and populate it into the running configuration. In addition the startup configurations will be updated with the new merged configurations.

Do you want proceed? [yes/no]: yes Merging the standby VSL configuration. . . Building configuration... [OK]
Elaborado por Guillermo Muoz M.
2006 Cisco Systems, Inc. All rights reserved.

Cisco

18

Completing the Conversion


VSS#switch accept mode virtual
This command will bring in all VSL configurations from the standby switch and populate it into the running configuration. In addition the startup configurations will be updated with the new merged configurations. Do you want proceed? [yes/no]: yes Merging the standby VSL configuration. . . Building configuration... [OK]
Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

19

Completing the Conversion

CONGRATULATIONS!!

At this stage, both 6500s have been converted into a single Virtual Switching System, so you might want to rename your newly-configured VSS device and proceed to save the configuration:

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

20

Completing the Conversion


vss-sw1#conf t Enter configuration commands, one per line. End with CNTL/Z. vss-sw1(config)#hostname personalhostname personalhostname(config)#^Z personalhostname#wr Building configuration...

Virtual Switch Domain


VSL
Si Si

Switch 1

Switch 2

VSS Single Logical Switch


Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

21

Verifying de VSS Status


After the conversion process, you can now take some time to get familiar with the Virtual Switch System environment. First, you can verify the modules you now have control of from the Active Virtual Switch:

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

22

Verifying de VSS Status


pod1-vss#sh module switch 1 Switch Number: 1 Role: Virtual Switch Active ---------------------- ----------------------------Mod Ports Card Type Model --- ----- -------------------------------------- -----------------1 5 Supervisor Engine 720 10GE (Active) WS-S720-10G 2 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE 3 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX

Serial No. ----------SAD104707A7 SAL1104F8T3 SAD074102UP

Mod MAC addresses Hw Fw --- ---------------------------------- ------ -----------1 000f.8f3a.8fd0 to 000f.8f3a.8fd7 0.423 8.5(1) 2 001a.a10e.833c to 001a.a10e.833f 2.5 12.2(14r)S5 3 0002.fcc1.1bd0 to 0002.fcc1.1bff 1.2 12.2(14r)S5
Mod ---1 1 2 3 Sub-Module --------------------------Policy Feature Card 3 MSFC3 Daughterboard Centralized Forwarding Card Centralized Forwarding Card Model -----------------WS-F6K-PFC3CXL WS-F6K-MSFC3 WS-F6700-CFC WS-F6700-CFC

Sw -----------12.2(SIERRA_ 12.2(SIERRA_ 12.2(SIERRA_

Status ------Ok Ok Ok

Serial Hw Status ----------- ------- ------SAD104704TP 0.203 Ok SAD104607UD 0.100 Ok SAD11080ADS 3.1 Ok SAD074201WN 1.1 Ok

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

23

Verifying de VSS Status


pod1-vss#sh module switch 2 Switch Number: 2 Role: Virtual Switch Standby ---------------------- ----------------------------Mod Ports Card Type Model --- ----- -------------------------------------- -----------------1 5 Supervisor Engine 720 10GE (Hot) WS-S720-10G 2 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE 3 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX

Serial No. ----------SAD1047078E SAL1103EERS SAD074206UM

Mod MAC addresses Hw Fw --- ---------------------------------- ------ -----------1 000f.8f3a.8bbc to 000f.8f3a.8bc3 0.423 8.5(1) 2 001a.6c68.73e0 to 001a.6c68.73e3 2.5 12.2(14r)S5 3 000d.6551.041a to 000d.6551.0449 1.2 12.2(14r)S5
Mod ---1 1 2 3 Sub-Module --------------------------Policy Feature Card 3 MSFC3 Daughterboard Centralized Forwarding Card Centralized Forwarding Card Model -----------------WS-F6K-PFC3CXL WS-F6K-MSFC3 WS-F6700-CFC WS-F6700-CFC

Sw -----------12.2(SIERRA_ 12.2(SIERRA_ 12.2(SIERRA_

Status ------Ok Ok Ok

Serial Hw Status ----------- ------- ------SAD104704V0 0.203 Ok SAD104607RA 0.100 Ok SAL1051BP41 3.1 Ok SAD07430352 1.1 Ok

pod1-vss#

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

24

Verifying de VSS Status


pod1-vss#sh run switch 1 Building configuration... Current configuration : 4278 bytes ! interface GigabitEthernet1/1/1 no switchport no ip address shutdown ! interface GigabitEthernet1/1/2 no switchport no ip address shutdown ! interface GigabitEthernet1/1/3 no switchport ip address 128.107.65.12 255.255.255.128 ! <snip>

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

25

Verifying de VSS Status


pod1-vss#sh run switch 2 Building configuration... Current configuration : 3741 bytes ! interface GigabitEthernet2/1/1 no switchport no ip address ! interface GigabitEthernet2/1/2 no switchport no ip address ! <snip>

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

26

Verifying de VSS Status


pod1-vss#sh switch virtual Switch mode : Virtual Switch Local switch number :1 Local switch operational role: Virtual Switch Active Peer switch number :2 Peer switch operational role : Virtual Switch Standby pod1-vss#sh switch virtual link VSL Status : UP VSL Uptime : 18:36:43 UTC Apr 6 2007 VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/1/4

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

27

Verifying de VSS Status


pod1-vss#sh switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote -----------------------------------------------------------------LOCAL 1 UP FALSE(N) 110(110) ACTIVE 0 0 REMOTE 2 UP FALSE(N) 100(100) STANDBY 4217 6561

In dual-active recovery mode: No

Elaborado por Guillermo Muoz M.

2006 Cisco Systems, Inc. All rights reserved.

Cisco

28