Portname – Dell POWEREDGE M1000E User Manual

Page 769

Advertising
background image

Fabric OS Command Reference

737

53-1001764-02

portName

2

portName

Assigns or displays port names.

Synopsis

portname

portname [slot/]port [ -n name]

portname -i [index1[-index2][...][-f] [-n name]]

portname -slot slot1[-slot2] [...][-n name]

portname -h

Description

Use this command to assign a port name to a specified port or to a range of ports. The port name
is included in the portShow output; it should not be confused with the world wide port name.

You can identify a single port to be configured by its port number or by its port index number. Port
ranges are supported with index numbers or by specifying a slot or a slot range. Use switchShow for
a listing of valid ports, slots, and port index numbers. When issued without the name operand, this
command displays the names of the specified ports or of all ports, if no port is specified.

Specifying multiple ports with the index (-i) or slot (-s) option is supported only if PortSwap is
disabled. They are not supported on GbE ports and configured F_Port trunks. Use the -i option
without a port index argument to display the portSwap status, or alternately use portSwapShow.

Like all other configurable port attributes, port names persists across reboots and power cycles.
They are not affected by the configDefault command, but they are cleared by portCfgDefault.

Note

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability"
for details.

Operands

This command has the following operands:

slot

For bladed systems only, specifies the slot number of the ports to be
configured, followed by a slash (/).

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.

-f

Ignores nonexisting ports. This operand is valid only with the -i option.

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

Advertising