Fabric OS Command Reference
763
53-1001764-01
portName
2
-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 (;), backlashes (\), and the at sign (@). To erase a port
name, specify this operand as an empty string in double-quotation marks. If the
name includes spaces it must be included 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 "|".
-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)
SEE ALSO
configDefault
,
portCfgDefault
,
portShow
,
portSwapDisable
,
portSwapShow
,
switchShow
Содержание Fabric OS v7.0.1
Страница 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Страница 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Страница 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Страница 118: ...92 Fabric OS Command Reference 53 1001764 01 ceePortLedTest 22 ceePortLedTest DESCRIPTION See portLedTest SEE ALSO None ...
Страница 270: ...244 Fabric OS Command Reference 53 1001764 01 exit 22 exit DESCRIPTION See logout SEE ALSO None ...
Страница 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...