762
Fabric OS Command Reference
53-1001764-01
portName
22
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 port
portnumber
, for example, "port10."
•
On enterprise-class platforms, the default port name displays as slot
slotnumber
port
portnumber
, 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.
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.
-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.
Summary of Contents for Fabric OS v7.0.1
Page 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Page 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Page 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Page 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...