Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
510 Fabric OS Command Reference
53-1000599-02
portName
2
portName
Assigns a name to the specified 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 is cleared by portCfgDefault.
Note The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability"
for details.
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.
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 a port tape drive 8:
switch:admin> portname 1/3, "Tape drive 8"
switch:admin> portname 1/3
Tape drive 8
See Also configDefault, portCfgDefault, portShow