HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)

XPath OS 7.4.x command reference guide 197
Displays or sets the configured port name.
Synopsis
portname port [portname]
Availability
admin
Description
Use this command to display or set the configured port name. If a parameter is specified for portname,
the command sets the port to the specified new port name. If no parameter is specified for portname, the
command displays the currently configured port name.
Operands
This command has the following optional operand:
Examples
To display the configured name of port 8:
To set the name of port 8 to “port 3_8”:
See also
portShow
portName
portname Specifies the port name. The maximum name length is 32 characters.
The name must be either letters, digits, underscores, or spaces only. The
first character of the name must be either a letter or a digit.
switch:admin> portname 8
Port 8 name: port_8
switch:admin> portname 8 port3_8
port 8 set to name port3_8