Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-671
Publication Number: 53-1000240-01
switchName
2
Note: Enter commands in lowercase only; mixed case is for readability.
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
on the Fabric Web page, 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 with no
operand to display the current switch name.
Changing the switch name causes a domain address format RSCN to be issued (refer to FC-FLA for a
description of RSCNs).
The switch name also can be changed using Web Tools.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operand:
name Specify a new name for the switch. name can include up to 15 characters, must
begin with a letter, can consist of letters, digits, hyphens, and underscore
characters, and no spaces. This operand is optional; if omitted, this command
displays the current switch name.
Examples To change a switch name to dilbert (note the change in the prompt text):
See Also chassisShow, switchShow
switch:admin> switchname dilbert
dilbert:admin> switchname
dilbert