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

2-506 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
portName
2
Note: Enter commands in lowercase only; mixed case is for readability.
portName
Assigns a name to the specificed port, or displays a port name.
Synopsis portname [slotnumber/]portnumber [name]
Description Use this command to assign or display a port name. This name is included in the portShow output; it
should not be confused with the world wide port name.
Like all other configurable port attributes, port name persists across reboots and power cycles. It is not
affected by configDefault command, but it will be cleared by portCfgDefault.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
slotnumber For bladed systems only, specify the slot number of the port to be configured,
followed by a slash (/).
portnumber Specify a port number to be configured, relative to its slot for bladed systems. Use
switchShow to display a list of valid ports.
name Specify a port name. The port name is a character string up to 32 characters,
including spaces and characters, and excluding commas (,), semicolons (;),
backslashes (\), and the at sign (@). To erase a port name, specify this operand as
an empty string in double-quotation marks. This operand is optional; if omitted,
the current port name is displayed.
Note
Some characters require a qualifier or double-quotation marks when used with a
bash shell; for example, enter a single-quotation mark as \’, enter an exclamation
mark as \!, or enter a pipe (|) as “|”.
Without operands, the port names of all ports present are displayed.
Examples To name to a port Tape drive 8:
See Also configDefault, portCfgDefault, portShow
switch:admin> portname 1/3, "Tape drive 8"
switch:admin> portname 1/3
Tape drive 8