Deployment Guide

1112 Fabric OS Command Reference
53-1003131-01
switchName
2
switchName
Displays or sets the switch name.
SYNOPSIS switchname [name]
DESCRIPTION Use this command to display or set the switch name. Once you set the switchname, you must re-login for
the change to be in effect. 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. The switch name should be
unique. 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 31 characters.
The name must begin with a letter and can consist of letters, numbers, hyphens,
and underscore characters. The switch name should be unique. 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
Committing configuration...
Done.
Switch name has been changed.Please re-login into the switch for the change to
be applied.
SEE ALSO chassisShow, switchShow