5-43
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 5 Configuring Virtual Switching Systems
Configuring a VSS
Configuring VSL Switch Priority
To configure the switch priority, perform this task:
Note If you make configuration changes to the switch priority, the changes only take effect after you save the
running configuration to the startup configuration file and perform a reload. The show switch virtual
role command shows the operating and configured priority values. You can manually set the VSS
Standby switch to VSS Active using the redundancy force-switchover command.
This example shows how to configure virtual switch priority:
Switch(config)# switch virtual domain 100
Switch(config-vs-domain)# switch 1 priority 200
Switch(config-vs-domain)# exit
This example shows how to display priority information for the VSS:
Switch# show switch virtual role
Switch Switch Status Preempt Priority Role Session ID
Number Oper(Conf) Oper(Conf) Local Remote
------------------------------------------------------------------
LOCAL 1 UP FALSE(N) 100(200) ACTIVE 0 0
REMOTE 2 UP FALSE(N) 100(100) STANDBY 8158 1991
In dual-active recovery mode: No
Command Purpose
Step 1
Switch(config)# switch virtual domain 100
Enters configuration mode for the virtual switch
domain.
Step 2
Switch(config-vs-domain)# switch [1 | 2] priority
[priority_num]
Configures the priority for the switch. The switch
with the higher priority assumes the VSS Active role.
The range is 1 (lowest priority) to 255 (highest
priority); the default is 100.
Note
•
The new priority value only takes effect after you
save the configuration and perform a reload of
the VSS.
• If the higher priority switch is currently in VSS
Standby state, you can make it the VSS Active
switch by initiating a switchover with the
redundancy force-switchover command.
The show switch virtual role command displays
the operating priority and the configured priority
for each switch in the VSS.
• The no form of the command resets the priority
value to the default value of 100. The new value
takes effect after you save the configuration and
perform a reload.
Step 3
Switch# show switch virtual role
Displays the current priority.