Portname – Dell POWEREDGE M1000E User Manual

Page 811

Advertising
background image

Fabric OS Command Reference

783

53-1002746-01

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.

When a port name is not configured, the portName command displays a default name in the portShow
output. The format of the default name is as follows:

On standalone platforms, the default port name displays as portportnumber, for example, "port10."

On enterprise-class platforms, the default port name displays as slotslotnumberportportnumber, for
example, "slot1por5."

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 the portSwapShow command. When Ficon
Management Server (FMS) mode is enabled, specifying a port range will fail. This is because FMS does
not permit multiple ports to have the same port name. The first port in the range gets the port name, all
other ports in the range will fail.

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.

NOTES

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.

Advertising