Reference Guide

816 Brocade Fabric OS Command Reference
53-1004112-02
portName
-default
Sets the dynamic port name format to the default format string "S.T.I.A".
-help
Displays the syntax and usage guidelines for the -d operand.
-h
Displays the command usage.
Examples To name a port tape drive 8:
switch:admin> portname 1/3 -n "Tape drive 8"
switch:admin> portname 1/3
Tape drive 8
To assign a name to a range of ports specified by port index numbers:
switch:admin> portname -i 22-26 -n backup
switch:admin> portname -i 22-26
port 22: backup
port 23: backup
port 24: backup
port 25: backup
port 26: backup
To assign a name to all ports on slot 1 and 2:
switch:admin> portname -s 1-2 -n backup
switch:admin> portname -s 1-2
port 416: backup
port 417: backup
port 418: backup
port 419: backup
port 420: backup
port 421: backup
(output truncated)
To configure dynamic port name format:
switch:admin> portname -d "S.T.I.R.A"
To display the configured dynamic port name format:
switch:admin> portname -d
S.T.I.R.A
SEE ALSO configDefault, configure, portCfgDefault, portShow, portSwapDisable, portSwapShow, switchShow