Reference Guide

Brocade Fabric OS Command Reference 815
53-1004112-02
portName
port
Assigns a name to a single port identified by its port number.
-i index1[-index2]
Assigns a name to a single port or to a range of ports identified by port index numbers, for
example, -i 1/3-8 -n backup. You may specify multiple index ranges separated by a space,
for example, -i 35-45 61-68 -n backup.
-x [hex1 [-hex2]]
Specifies a port or a range of ports identified by port index numbers in hexadecimal format.
You may specify multiple port ranges separated by a space, for example, -x 21-26 28-3c.
-f
Ignores nonexisting ports. This operand is valid only with the -i and -x options.
-slot [slot1[-slot2]
Assigns a name to all ports on a slot or on a range of slots, for example, -s 3-5 -n backup.
Multiple slot ranges are not supported with this command.
-n name
Specifies the name to be assigned to the ports. The port name is a character string up to
128 characters, including spaces and characters, and excluding commas (,), semicolons (;),
backslashes (\), and the at sign (@). When FICON Server Management mode is enabled, the
port name character string can only be up to 24 chatacters in length. To erase a port name,
execute the port name operand as an empty string in double-quotation marks ( -n ""). 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 "|".
The empty string operand for port name (-n "") will not be effective if the default
configuration parameter for "Disable Default PortName" is set to N or enabled. Use the
configure command to set this parameter to Y or disabled so that -n "" can be effective.
-d
Configures or displays the dynamic port name format. When executed without optional
parameters, this command displays the configured dynamic port name format.
format_string
Specifies the dynamic port name format. The following control keys and their
corresponding port name fields are supported:
S - Switch name
T - Port type
I - Port index
C - Slot number/port number
A - Alias name
F - FDMI hostname
R - Remote switch name
The control keys for port name fields must be separated using periods (.),dashes (-), or
underscores (_). Control keys are case-sensitive. The format_string must be enclosed in
double quotes.