2-1039
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 domain (virtual switch)
switch virtual domain (virtual switch)
To configure the virtual switch domain number and enter the virtual switch domain configuration
submode, use the switch virtual domain command in global configuration mode.
switch virutal domain number
Syntax Description
Defaults No virtual switch domain number is configured.
Command Modes Global configuration (config)
Command History
Usage Guidelines When you enter the switch virtual domain command, you enter the virtual switch domain configuration
submode, and the prompt changes to Router1(config-vs-domain)#. Within the virtual switch domain
configuration submode, the following commands are available:
• default—Sets a command to its defaults.
• exit—Exits the virtual-switch-domain-mode and returns to the global configuration mode.
• no—Negates a command or set its defaults.
• switch num—Assigns the switch number. See the switch (virtual switch) command for additional
information.
You must configure the same virtual switch domain number on both chassis of the virtual switch. The
virtual switch domain is a number between 1 and 255, and must be unique for each virtual switch in your
network.
Note The domain identification takes effect only after you enter the switch convert mode virtual command.
Note The switch number is not stored in the startup or running configuration, because both chassis use the
same configuration file (but must not have the same switch number).
Examples The following example shows how to configure the virtual switch number and virtual switch domain on
two switches:
Router1(config)# switch virtual domain 100
Router1(config-vs-domain)# switch 1
number Specifies the virtual switch domain number. Range: 1 to 255.
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.