beautypg.com

Dell POWEREDGE M1000E User Manual

Page 812

background image

784

Fabric OS Command Reference

53-1002746-01

portName

2

-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 "|".

-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