Catalyst6500シリーズスイッチをVSS環境で動作させるには、2台のスイッチをVSSドメインへ追加する設定と装置の再起動が必要になります
以下の例では、単一構成であったスイッチ1とスイッチ2を使用してVSSを構成した際の設定と出力例です。
この例では、T5/4とT5/5がVSLリンクです。
/////スイッチ1/////
Router(config)#host VSS
VSS(config)#switch virtual domain 10
Domain ID 10 config will take effect only
after the exec command 'switch convert mode virtual' is issued
VSS(config-vs-domain)#switch 1
VSS(config-vs-domain)#exit
VSS(config)#interface port-channel 1
VSS(config-if)#switch virtual link 1
VSS(config-if)#interface range tenG 5/4 - 5
VSS(config-if-range)#channel-group 1 mode on
vss#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-20071031-150039]?
AT THIS POINT THE SWITCH WILL REBOOT
コンソール出力
<…snip…>
System detected Virtual Switch configuration...
Interface TenGigabitEthernet 1/5/4 is member of PortChannel 1
Interface TenGigabitEthernet 1/5/5 is member of PortChannel 1
<…snip…>
00:00:26: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor for this switch
Initializing as Virtual Switch ACTIVE processor
<…snip…>
00:01:19: %VSLP-5-RRP_ROLE_RESOLVED: Role resolved as ACTIVE by VSLP
00:01:19: %VSL-5-VSL_CNTRL_LINK: New VSL Control Link 5/4
<…snip…>
vss-demo#switch accept mode virtual
interface Port-channel2
switch virtual link 2
no shutdown
interface TenGigabitEthernet2/5/4
channel-group 2 mode on
no shutdown
interface TenGigabitEthernet2/5/5
channel-group 2 mode on
no shutdown
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...
Building configuration...
00:11:33: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router. [OK]
vss#sh switch virtual
Switch mode : Virtual Switch
Virtual switch domain number : 10
Local switch number : 1
Local switch operational role: Virtual Switch Active
Peer switch number : 2
Peer switch operational role : Virtual Switch Standby
/////スイッチ2/////
Router(config)#host VSS
VSS(config)#switch virtual domain 10
Domain ID 10 config will take effect only
after the exec command 'switch convert mode virtual' is issued
VSS(config-vs-domain)#switch 2
VSS(config-vs-domain)#exit
VSS(config-if)#interface port-channel 2
VSS(config-if)#switch virtual link 2
VSS(config-if)#interface range tenG 5/4 - 5
VSS(config-if-range)#channel-group 2 mode on
vss#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-20071031-150018]?
AT THIS POINT THE SWITCH WILL REBOOT
コンソール出力
<…snip…>
System detected Virtual Switch configuration...
Interface TenGigabitEthernet 2/5/4 is member of PortChannel 2
Interface TenGigabitEthernet 2/5/5 is member of PortChannel 2
<…snip…>
00:00:26: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor for this switch
Initializing as Virtual Switch STANDBY processor
<…snip…>
00:01:02: %VSLP-5-RRP_ROLE_RESOLVED: Role resolved as STANDBY by VSLP
00:01:02: %VSL-5-VSL_CNTRL_LINK: New VSL
<…snip…>
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 10-Oct-07 01:02 by chrisvan
00:02:42: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
00:02:42: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
vss-sdby>
Standby console disabled
vss-sdby>en
Standby console disabled