Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

Fabric OS Command Reference 973
53-1001764-01
switchName
22
switchName
Displays or sets the switch name.
SYNOPSIS switchname [name]
DESCRIPTION Use this command to display or set the switch name. All switches have a symbolic name that is primarily
used for switch management. This name is shown in the Fabric OS CLI prompt, under each switch icon
in Web Tools, and in the output of various Fabric OS Commands, such as fabricShow.
Use this command with the name operand to assign a new switch name. Enter this command without an
operand to display the current switch name.
Changing the switch name causes a domain address format registered state change notification (RSCN)
to be issued. Refer to the FC-FLA specification for a description of RSCNs).
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS This command has the following operand:
name
Specifies the name for the switch. A switch name can include up to 30 characters.
The name must begin with a letter and can consist of letters, numbers, hyphens,
and underscore characters. Spaces are not allowed. This operand is optional; if
omitted, this command displays the current switch name.
EXAMPLES To change the switch name (note the change in the prompt text):
switch:admin> switchname brocade_demo_1298765_AY4TYI60
brocade_demo_1298765_AY4TYI60:admin> switchname
brocade_demo_1298765_AY4TYI60
SEE ALSO chassisShow, switchShow