2-1036
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
switch (virtual switch)
switch (virtual switch)
To assign a switch number, use the switch command in virtual switch domain configuration submode.
switch num [preempt delay | priority priority-value]
Syntax Description
Defaults priority-value settings for Switch 1 and Switch 2 are 100.
Command Modes Virtual switch domain configuration submode (config-vs-domain)
Command History
Usage Guidelines You must set the virtual domain name and the switch number prior to converting the chassis into a virtual
switch. You cannot configure the switch number after the chassis is in virtual switch mode.
When you boot the virtual switch, the role resolution logic validates that the chassis numbers in the two
chassis diffe.
When you configure preempt, the switch with the highest priority assumes the active role during role
negotiation.
Examples The following example shows how to assign a switch number and to configure the virtual switch domain:
Router1(config)# switch virtual domain 100
Router1(config-vs-domain)# switch 1 priority 20
Router1(config-vs-domain)# switch 1 preempt 12
Router1(config-vs-domain)#
Related Commands
num Specifies the switch number; valid values are 1 or 2.
preempt delay (Optional) Enables preemption and specifies a delay in minutes before the
standby chassis takes over as the active chassis. Range: 5 (default) to 20
priority priority-value (Optional) Specifies a priority number to determine the standby chassis that
will become the new active chassis if the active chassis fails. Range: 1
(lowest priority) to 255 (highest priority)
Release Modification
Cisco IOS XE 3.4.0SG and
15.1(2)SG
Support for this command was introduced on the Catalyst 4500 series
switch.
Command Description
switch virtual domain (virtual switch) Configures the virtual switch domain number and enter the
virtual switch domain configuration submode.