beautypg.com

Dell POWEREDGE M1000E User Manual

Page 770

background image

738

Fabric OS Command Reference

53-1001764-02

portName

2

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

ort 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