Send documentation comments to mdsfeedback-doc@cisco.com
21-63
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 21 S Commands
switchname
switchname
To change the name of the switch, use the switchname command in configuration mode. To revert the
switch name to the default name, use the no form of the command.
switchname {name}
no switchname {name}
Syntax Description
Defaults The default is
switch#.
Command Modes Configuration mode.
Command History
Usage Guidelines None.
Examples The following example changes the name of the switch to myswitch1.
switch# config terminal
switch(config)# switchname myswitch1
The following example changes the name of the switch to the default.
myswitch1(config)# no switchname
Related Commands
name Specifies a switch name. Maximum length is 32 characters.
Release Modification
1.0(2) This command was introduced.
Command Description
snmp-server Sets the contact information, switch location, and switch name within the
limit of 20 characters (without spaces).