! --------------------------------------------------------------- SWITCH 1 Config interface TenGigabitEthernet5/4 description *VSL* Link vss1 ten5/4 to vss2 ten5/4 no ip address shutdown ! interface TenGigabitEthernet5/5 description *VSL* Link vss1 ten5/5 to vss2 ten5/5 no ip address shutdown ! ! vss1#wr Building configuration... [OK] vss1#sho redundancy Redundant System Information : ------------------------------ Available system uptime = 3 days, 22 hours, 36 minutes Switchovers system experienced = 0 Standby failures = 0 Last switchover reason = none Hardware Mode = Simplex Configured Redundancy Mode = sso Operating Redundancy Mode = sso Maintenance Mode = Disabled Communications = Down Reason: Simplex mode vss1#config t Enter configuration commands, one per line. End with CNTL/Z. vss1(config)# vss1(config)# vss1(config)#switch virtual domain 100 Domain ID 100 config will take effect only after the exec command 'switch convert mode virtual' is issued vss1(config-vs-domain)#switch 1 vss1(config-vs-domain)#switch 1 priority 105 vss1(config-vs-domain)#switch 1 preempt Please note that Preempt configuration will make the ACTIVE switch with lower priority to reload forcefully when preempt timer expires. The default preempt timer is 15 minutes. It is set to the approximate time required to bring up all linecards in a fully loaded chassis. Once the preempt timer starts, the standby switch with higher priority will take over as active after 15 minutes. vss1(config-vs-domain)#mac-address use-virtual vss1(config-vs-domain)# vss1(config-vs-domain)#exit ! ! ! ! sho run output switch virtual domain 100 switch 1 priority 105 switch 1 preempt mac-address use-virtual ! ! vss1(config-vs-domain)#inter port10 vss1(config-if)#switch virtual link 1 vss1(config-if)#exit vss1(config)#interface range tenGigabitEthernet 5/4 - 5 vss1(config-if-range)#channel-group 10 mod on vss1(config-if-range)#no shut % Range command terminated because it failed on TenGigabitEthernet5/4 vss1(config-if-range)# 3d22h: %EC-5-STAYDOWN: Te5/4 will remain down as its port-channel Po10 is admin-down vss1(config-if-range)#inter port10 vss1(config-if)#no shut vss1(config-if)# vss1(config-if)#do sho run Building configuration... /5/4 filtering... interface TenGigabitEthernet5/4 description *VSL* Link vss1 ten5/4 to vss2 ten5/4 no ip address channel-group 10 mode on ! interface TenGigabitEthernet5/5 description *VSL* Link vss1 ten5/5 to vss2 ten5/5 no ip address channel-group 10 mode on ! ! !---------------------------------------------------------------------- ! ! SWITCH 2 Config ! vss2#dir sup-bootdisk: Directory of sup-bootdisk:/ 2 -rwx 33554432 Dec 5 2008 13:04:16 +00:00 sea_log.dat 3 -rwx 148612868 Feb 23 2009 21:08:18 +00:00 s72033-ipservicesk9_wan-vz.122-33.SXI.bin 1024589824 bytes total (842416128 bytes free) vss2#config t vss2(config)#inter tenGigabitEthernet 5/4 vss2(config-if)#$ *VSL* Link vss2 ten5/4 to vss1 ten5/4 vss2(config-if)#inter tenGigabitEthernet 5/5 vss2(config-if)#$ *VSL* Link vss2 ten5/5 to vss1 ten5/5 vss2(config-if)#no shut vss2(config-if)#inter tenGigabitEthernet 5/4 vss2(config-if)#no shut vss2(config-if)# vss2(config-if)#exit vss2(config)# vss2(config)#switch virtual domain 100 Domain ID 100 config will take effect only after the exec command 'switch convert mode virtual' is issued vss2(config-vs-domain)#switch 2 vss2(config-vs-domain)#mac-address use-virtual vss2(config-vs-domain)#interface port-channel 20 vss2(config-if)#shut vss2(config-if)#switch virtual link 2 vss2(config-if)#no shut vss2(config-if)#inter range ten5/4 - 5 vss2(config-if-range)#channel-group 20 mode on vss2(config-if-range)# vss2(config-if-range)# vss2(config-if-range)#end vss2# vss2# vss2#sho etherchannel sum Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 20 Po20(RU) - Te5/4(P) Te5/5(P) ! ! ! vss2#show platform hardware pfc mode PFC operating mode : PFC3C ! ! vss2#wr Building configuration... [OK] vss2# vss2#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... [OK] Saving converted configuration to bootflash: ... Destination filename [startup-config.converted_vs-20090227-210658]? ý 4d00h: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 4d00h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 4d00h: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. 4d00h: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. *** *** --- SHUTDOWN NOW --- *** 4d00h: %SYS-SP-5-RELOAD: Reload requested 4d00h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor !---------------------------------------------------------------------- ! ! BACK TO SWITCH 1 ! ! vss1#wr 3d22h: %SYS-5-CONFIG_I: Configured from console by console Building configuration... [OK] vss1#sho plat hard pfc mod PFC operating mode : PFC3C ! ! vss1#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... [OK] Saving converted configuration to bootflash: ... Destination filename [startup-config.converted_vs-20090227-210800]? ýC¡&–’Bé %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 3d22h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 3d22h: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. *** *** --- SHUTDOWN NOW --- *** 3d22h: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 3d22h: %SYS-SP-5-RELOAD: Reload requested by Delayed Reload. Reload Reason: reload. 3d22h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor ! ! ! SWITCH 1 REBOOTS ! ! 00:02:36: %VS_MERGE-6-STDBY_CFG_MERGE: Perform exec command 'switch accept mode virtual' to complete the VSS conversion. It merges standby VSL configuration and is required for VSS to be fully operational. ! ! vss1#sho switch virtual Switch mode : Virtual Switch Virtual switch domain number : 100 Local switch number : 1 Local switch operational role: Virtual Switch Active Peer switch number : 2 Peer switch operational role : Virtual Switch Standby Conversion completed : No Perform exec command 'switch accept mode virtual' to complete the VSS conversion a vss1# vss1#switch accept mode virtual Standby is not fully initialized. Try again later. vss1# !---------------------------------------------------------------------- ! ! WAIT about 5 minutes as Switch 2 is still coming up since it was rebooted ! vss1#switch accept mode virtual interface Port-channel20 switch virtual link 2 no shutdown interface TenGigabitEthernet2/5/4 channel-group 20 mode on interface TenGigabitEthernet2/5/5 channel-group 20 mode on This command will populate the above VSL configuration from the standby switch into the running configuration. The startup configuration will also be updated with the new merged configuration if merging is successful. Do you want to proceed? [yes/no]: yes Merging the standby VSL configuration... 00:08:51: %VSLP-SW1_SP-5-VSL_UP: Ready for data traffic Building configuration... 00:09:06: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router. [OK] vss1# vss1#sho switch vir Switch mode : Virtual Switch Virtual switch domain number : 100 Local switch number : 1 Local switch operational role: Virtual Switch Active Peer switch number : 2 Peer switch operational role : Virtual Switch Standby ! ! ! vss1#sho switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote ------------------------------------------------------------------ LOCAL 1 UP TRUE (Y*) 105(105) ACTIVE 0 0 REMOTE 2 UP FALSE(N ) 100(100) STANDBY 4450 1490 Active configured preempt timer(switch 1): 15 minutes In dual-active recovery mode: No vss1#sho switch virtual link VSL Status : UP VSL Uptime : 11 minutes VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/5/4 ! ! vss1#sho mod switch 2 Switch Number: 2 Role: Virtual Switch Standby ---------------------- ----------------------------- Mod Ports Card Type Model Serial No. --- ----- -------------------------------------- ------------------ ----------- 1 16 CEF720 16 port 10GE WS-X6716-10GE SAxxxxxxxxx 2 16 CEF720 16 port 10GE WS-X6716-10GE SAxxxxxxxxx 3 48 CEF720 48 port 1000mb SFP WS-X6748-SFP SAxxxxxxxxx 4 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX SAxxxxxxxxx 5 5 Supervisor Engine 720 10GE (Hot) VS-S720-10G SAxxxxxxxxx Mod MAC addresses Hw Fw Sw Status --- ---------------------------------- ------ ------------ ------------ ------- 1 0023.xxxx.xxxx to 0023.xxxx.xxxx 1.0 12.2(18r)S1 12.2(33)SXI Ok 2 001d.xxxx.xxxx to 001d.xxxx.xxxx 1.0 12.2(18r)S1 12.2(33)SXI Ok 3 0021.xxxx.xxxx to 0021.xxxx.xxxx 1.12 12.2(14r)S5 12.2(33)SXI Ok 4 0022.xxxx.xxxx to 0022.xxxx.xxxx 3.0 12.2(18r)S1 12.2(33)SXI Ok 5 001e.xxxx.xxxx to 001e.xxxx.xxxx 2.0 8.5(2) 12.2(33)SXI Ok Mod Sub-Module Model Serial Hw Status ---- --------------------------- ------------------ ----------- ------- ------- 1 Distributed Forwarding Card WS-F6700-DFC3C SAxxxxxxxxx 1.1 Ok 2 Distributed Forwarding Card WS-F6700-DFC3C SAxxxxxxxxx 1.1 Ok 3 Distributed Forwarding Card WS-F6700-DFC3C SAxxxxxxxxx 1.1 Ok 4 Distributed Forwarding Card WS-F6700-DFC3C SAxxxxxxxxx 1.1 Ok 5 Policy Feature Card 3 VS-F6K-PFC3C SAxxxxxxxxx 1.0 Ok 5 MSFC3 Daughterboard VS-F6K-MSFC3 SAxxxxxxxxx 1.0 Ok Mod Online Diag Status ---- ------------------- 1 Pass 2 Pass 3 Pass 4 Pass 5 Pass vss1(config)#switch virtual domain 100 vss1(config-vs-domain)#dual-active detection ? bfd Dual-active detection bfd enable fast-hello Dual-active detection fast-hello enable pagp Dual-active detection pagp enable vss1(config-vs-domain)#dual-active detection fast-hello vss1(config-vs-domain)#exit vss1(config)#interface tenGigabitEthernet 1/1/5 vss1(config-if)#shut vss1(config-if)#dual-active fast-hello vss1(config-if)#no shut vss1(config-if)#interface tenGigabitEthernet 1/2/5 vss1(config-if)#dual-active fast-hello vss1(config-if)#no sh vss1(config-if)# vss1(config-if)# vss1(config-if)# 00:21:17: %VSDA-SW1_SP-3-LINK_DOWN: Interface Te1/2/5 is no longer dual-active detection capable vss1(config-if)# vss1(config-if)#interface tenGigabitEthernet 2/1/5 vss1(config-if)#dual-active fast-hello 00:23:27: %VSDA-SW1_SP-5-LINK_UP: Interface Te1/1/5 is now dual-active detection capable 00:24:31: %VSDA-SW2_SPSTBY-5-LINK_UP: Interface Te2/1/5 is now dual-active detection capable vss1(config-if)# vss1(config-if)# vss1(config-if)#interface tenGigabitEthernet 2/2/5 vss1(config-if)#dual-active fast-hello vss1(config-if)#no shut vss1(config-if)#end vss1#sho 00:25:03: %VSDA-SW2_SPSTBY-5-LINK_UP: Interface Te2/2/5 is now dual-active detection capable 00:24:01: %VSDA-SW1_SP-5-LINK_UP: Interface Te1/2/5 is now dual-active detection capable vss1#sho run interface tenGigabitEthernet 1/1/5 Building configuration... Current configuration : 168 bytes ! interface TenGigabitEthernet1/1/5 description *DUAL-ACTIVE DETECTION vss1 ten1/5 to vss2 ten1/5 no switchport no ip address dual-active fast-hello end vss1#sho run interface tenGigabitEthernet 1/2/5 Building configuration... Current configuration : 168 bytes ! interface TenGigabitEthernet1/2/5 description *DUAL-ACTIVE DETECTION vss1 ten2/5 to vss2 ten2/5 no switchport no ip address dual-active fast-hello end vss1#sho run interface tenGigabitEthernet 2/2/5 Building configuration... Current configuration : 168 bytes ! interface TenGigabitEthernet2/2/5 description *DUAL-ACTIVE DETECTION vss2 ten2/5 to vss1 ten2/5 no switchport no ip address dual-active fast-hello end vss1#sho run interface tenGigabitEthernet 2/1/5 Building configuration... Current configuration : 168 bytes ! interface TenGigabitEthernet2/1/5 description *DUAL-ACTIVE DETECTION vss2 ten1/5 to vss1 ten1/5 no switchport no ip address dual-active fast-hello end !------------------------------------------------------------------- ! ! ! ! SHUTDOWN one of the 2 VSL links as test ! ! vss1(config)#inter tenGigabitEthernet 1/5/4 vss1(config-if)#shut WARNING: You are shutting down one or more VSL interfaces. If all VSL interfaces are down, connectivity between active and standby switch (if present) will be lost and would also result in two active switches. Traffic disruption will occur, and possible configuration mismatch between the switches can happen. Do you want to proceed? [yes/no]: yes vss1(config-if)# vss1(config-if)# vss1(config-if)# vss1(config-if)# 00:26:05: %VSLP-SW2_SPSTBY-3-VSLP_LMP_FAIL_REASON: Te2/5/4: Link down 00:25:02: %VSLP-SW1_SP-3-VSLP_LMP_FAIL_REASON: Te1/5/4: Link downend 00:26:05: %VSL-SW2_SPSTBY-5-VSL_CNTRL_LINK: New VSL Control Link Te2/5/5 00:25:02: %VSL-SW1_SP-5-VSL_CNTRL_LINK: New VSL Control Link Te1/5/5 vss1# vss1# !------------------------------------------------------------------- ! ! VSL LINK STAYED UP AS EXPECTED ! ! vss1#sho switch virtual link VSL Status : UP VSL Uptime : 24 minutes VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/5/5 vss1#sho switch virtual Switch mode : Virtual Switch Virtual switch domain number : 100 Local switch number : 1 Local switch operational role: Virtual Switch Active Peer switch number : 2 Peer switch operational role : Virtual Switch Standby vss1#sho switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote ------------------------------------------------------------------ LOCAL 1 UP TRUE (Y*) 105(105) ACTIVE 0 0 REMOTE 2 UP FALSE(N ) 100(100) STANDBY 4450 1490 Active configured preempt timer(switch 1): 15 minutes In dual-active recovery mode: No vss1#config t vss1(config)#inter tenGigabitEthernet 1/5/4 vss1(config-if)#no shut vss1(config-if)#end vss1# ! ! vss1#sho switch virtual link VSL Status : UP VSL Uptime : 25 minutes VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/5/5 vss1#sho switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote ------------------------------------------------------------------ LOCAL 1 UP TRUE (Y*) 105(105) ACTIVE 0 0 REMOTE 2 UP FALSE(N ) 100(100) STANDBY 4450 1490 Active configured preempt timer(switch 1): 15 minutes In dual-active recovery mode: No vss1#sho switch virtual dual-active ? bfd Dual-active bfd summary fast-hello Dual-active fast-hello summary pagp Dual-active pagp summary summary Dual-active config summary vss1#sho switch virtual dual-active fast-hello Fast-hello dual-active detection enabled: Yes Fast-hello dual-active interfaces: Port Local State Peer Port Remote State --------------------------------------------------- Te1/1/5 Link up Te2/1/5 Link up Te1/2/5 Link up Te2/2/5 Link up vss1#sho switch virtual dual-active pagp PAgP dual-active detection enabled: Yes PAgP dual-active version: 1.1 No PAgP channel groups configured vss1#sho etherchannel sum Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use N - not in use, no aggregation f - failed to allocate aggregator M - not in use, no aggregation due to minimum links not met m - not in use, port not aggregated due to minimum links not met u - unsuitable for bundling d - default port w - waiting to be aggregated Number of channel-groups in use: 2 Number of aggregators: 2 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 10 Po10(RU) - Te1/5/4(P) Te1/5/5(P) 20 Po20(RU) - Te2/5/4(P) Te2/5/5(P) ! ! Create test port channel to core 1 using 4 interfaces from vss 1 and 4 from vss2 vss1(config)#interface range tenGigabitEthernet 1/1/1 - 2, ten vss1(config)#$gabitEthernet 1/1/1 - 2, tenGigabitEthernet 1/2/1 -2, ten vss1(config)#$gabitEthernet 1/2/1 -2, tenGigabitEthernet 2/1/1 - 2, ten vss1(config)#$abitEthernet 2/1/1 - 2, tenGigabitEthernet 2/2/1 - 2 vss1(config-if-range)#channel-group 1 mode desirable vss1(config-if-range)# 00:31:46: %EC-SW1_SP-5-PORTDOWN: Shutting down Te1/1/1 as its port-channel is admin-down 00:31:46: %EC-SW1_SP-5-PORTDOWN: Shutting down Te1/1/2 as its port-channel is admin-down 00:31:46: %EC-SW1_SP-5-PORTDOWN: Shutting down Te1/2/1 as its port-channel is admin-down 00:31:46: %EC-SW1_SP-5-PORTDOWN: Shutting down Te1/2/2 as its port-channel is admin-down vss1(config-if-range)# vss1(config-if-range)# vss1(config-if-range)#no shut vss1(config-if-range)# vss1(config-if-range)#inter port1 vss1(config-if)#no shut vss1(config-if)#ip address 1.1.1.1 255.255.255.252 !------------------------------------------------------------------- ! interface Port-channel1 no switchport ip address 1.1.1.1 255.255.255.252 ! interface Port-channel10 no switchport no ip address switch virtual link 1 mls qos trust cos no mls qos channel-consistency ! interface Port-channel20 no switchport no ip address switch virtual link 2 mls qos trust cos no mls qos channel-consistency ! vss1# show etherchan summ Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(RD) PAgP Te1/1/1(D) Te1/1/2(D) Te1/2/1(D) Te1/2/2(D) Te2/1/1(D) Te2/1/2(D) Te2/2/1(D) Te2/2/2(D) 10 Po10(RU) - Te1/5/4(P) Te1/5/5(P) 20 Po20(RU) - Te2/5/4(P) Te2/5/5(P) vss1# vss1# vss1# !------------------------------------------------------------------- ! ! NEW CORE 1 ! ! NewCore1-r2r1(config)#interface range tenGigabitEthernet 1/5 - 6, ten2/5 - 6, ten1/10 -11, ten2/10 - 11 NewCore1-r2r1(config-if-range)#channel-group 1 mode desirable NewCore1-r2r1(config-if-range)# NewCore1-r2r1(config-if-range)#no shut NewCore1-r2r1(config)#inter port1 NewCore1-r2r1(config-if)#ip address 1.1.1.2 255.255.255.252 NewCore1-r2r1(config-if)#no shut NewCore1-r2r1(config-if)#end NewCore1-r2r1# NewCore1-r2r1#sho etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use N - not in use, no aggregation f - failed to allocate aggregator M - not in use, no aggregation due to minimum links not met m - not in use, port not aggregated due to minimum links not met u - unsuitable for bundling d - default port w - waiting to be aggregated Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(RU) PAgP Te1/5(P) Te1/6(P) Te1/11(P) Te1/12(P) Te2/5(P) Te2/6(P) Te2/11(P) Te2/12(P) NewCore1-r2r1#ping 1.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms NewCore1-r2r1#ping 1.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms NewCore1-r2r1#sho cdp ne NewCore1-r2r1#sho cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID vss1 Ten 2/12 161 R S I WS-C6509- Ten 2/2/2 vss1 Ten 1/11 164 R S I WS-C6509- Ten 2/1/1 vss1 Ten 2/11 161 R S I WS-C6509- Ten 2/2/1 vss1 Ten 1/12 161 R S I WS-C6509- Ten 2/1/2 vss1 Ten 1/6 165 R S I WS-C6509- Ten 1/1/2 vss1 Ten 2/5 166 R S I WS-C6509- Ten 1/2/1 vss1 Ten 2/6 165 R S I WS-C6509- Ten 1/2/2 vss1 Ten 1/5 167 R S I WS-C6509- Ten 1/1/1 !------------------------------------------------------------------- ! ! THE END