Cisco VSS Configuration
One, the 2 VSS65 from the single-box mode switch to Virtual chassis mode
Basic steps:
1. Configure the SSO High Availability protocol on switches 1 and 2, respectively:
2. Configure the domain of the virtual switch (VM switch domain and switch Numbers)
3. Configure the VSL port between the two switches (connecting using the 2 Wan ports on the engine)
4. Convert chassis into Virtual Switch mode
Detailed configuration:
1. Configure the SSO High Availability protocol on switches 1 and 2, respectively:
SWITCH1:
Step 1
Switch-1 (config) # redundancy
Enters redundancy configuration mode.
Step 2
Switch-1 (config-red) # mode SSO
Configures SSO. When this command was entered, the redundant Supervisor engine is reloaded and begins to work in SSO mode.
Step 3
Switch-1 (config-red) # exit
switch-1# Show Running-config
switch-1# Show redundancy states//displays the operating redundancy mode.
SWITCH2:
Switch-2 (config) # redundancy
Switch-2 (config-red) # mode SSO
Switch-2 (config-red) # exit
switch-2# Show Running-config
switch-2# Show Redundancy states
2. Configure the domain of the virtual switch (VM switch domain and switch Numbers)
SWITCH1:
Step 1
Switch-1 (config) # switch virtual domain 100
Step 2
Switch-1 (config-vs-domain) # switch 1
Step 3
Switch-1 (Config-vs-domain) # exit
SWITCH2:
Switch-2 (config) # switch virtual domain 100
Switch-2 (config-vs-domain) # switch 2
Switch-2 (Config-vs-domain) # exit
3. Configure the VSL port between the two switches (connecting using the 2 Wan ports on the engine)
1) Configure Channel
SWITCH1:
Step 1
Switch-1 (config) # interface Port-channel 10
Step 2
Switch-1 (config-if) # switch Virtual link 1
Step 3
Switch-1 (config-if) # no shutdown//activates the port channel.
Step 4
Switch-1 (config-if) # exit
SWITCH2:
Switch-2 (config) # interface Port-channel 20
Switch-2 (config-if) # switch Virtual link 2
Switch-2 (config-if) # no shutdown
Switch-2 (config-if) # exit
2) Add the Gbps port on the engine to the channel (assuming that the engine is SLOT3, make sure Port-channel has joined switch virtual link)
SWITCH1:
Switch-1 (config) # interface range Tengigabitethernet 3/1-2
Switch-1 (config-if) # Channel-group mode on
Switch-1 (config-if) # no shutdown
SWITCH2:
Step 1
Switch-2 (config) # interface range Tengigabitethernet 3/1-2
Switch-2 (config-if) # Channel-group mode on
Switch-2 (config-if) # no shutdown
4. Convert chassis into Virtual Switch mode
1) Check the chassis PFC mode to ensure the same 2 chassis
Step 1
switch-1# Show platform hardware PFC mode
Ensures that the PFC operating mode matches on both chassis, to ensure that the VSS comes up in SSO redundancy mode.
Step 2
switch-2# Show platform hardware PFC mode
Step 3
Switch-1 (config) # Platform hardware VSL PFC mode pfc3c
(Optional) Sets the PFC operating mode to pfc3c on Chassis A.
Step 4
Switch-2 (config) # Platform hardware VSL PFC mode pfc3c
(Optional) Sets the PFC operating mode to pfc3c on Chassis B.
2) switch Chassis mode
SWITCH1:
switch-1# Switch Convert mode virtual
Converts switch 1 to virtual Switch mode.
After you enter the command, your is prompted to confirm the action. Enter Yes.
The system creates a converted configuration file, and saves the file to the RP Bootflash.
SWITCH2:
switch-2# Switch Convert mode virtual
5. View VSS Information
router# Show Switch virtual
Displays the virtual switch domain number, and the switch number and role for each of the chassis.
router# Show Switch Virtual role
Displays the role, switch number, and priority for each of the chassis in the VSS.
router# Show switch Virtual link
Displays the status of the VSL.
The following example shows the information output from these commands:
router# Show 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
router# Show Switch Virtual role
Switch switch Status Preempt priority Role Session ID
Number Oper (Conf) Oper (Conf) Local Remote
------------------------------------------------------------------
LOCAL 1 Up FALSE (N) ACTIVE 0 0
REMOTE 2 up FALSE (N) STANDBY 8158 1991
In dual-active recovery Mode:no
router# Show switch Virtual link
VSL Status:up
VSL uptime:4 hours, minutes
VSL SCP Ping:pass OK
VSL ICC (Ping): Pass
VSL Control Link:te 1/5/1
Welcome Lai Qun 1,666,846,201 Exchange
This article is from the "Network around us." Blog, so be sure to keep this source http://willy.blog.51cto.com/5093185/1618831
Configure Cisco VSS