HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 425
Locks a port as an L_Port.
Synopsis
portcfglport [slotnumber/]portnumber locked_mode [private_mode]
[duplex_mode]
Availability
admin
Description
Use this command to designate a port as an L_Port. The switch then only attempts to initialize that port as
an FL_Port. By default, the L_Port is a public L_Port. It can be set to private L_Port and the FLOGI is rejected.
The switch never attempts point-to-point (F_Port) initialization on the port.
Operands
The operands are as follows:
If used without operands, this command reports the L_Port conditions for all ports present.
portCfgLPort
slotnumber Specify the slot number of the port to be configured, followed by
a slash (/) (for bladed systems only).
portnumber Specify a port number to be configured, relative to its slot for
bladed systems. Use switchShow to display a list of valid
ports. This operand is optional; if omitted, this command
displays the L_Port conditions for all ports.
locked_mode Specify 1 to configure the specified port as a locked L_Port.
Specify 0 to deconfigure the specified port from its previous role
as a locked L_Port. This operand is required.
private_mode Specify 1 to configure the L_Port as a private L_Port. Specify 0 to
configure the L_Port as a normal public L_Port. The default value
is 0.
duplex_mode Specify 2 to configure the specified port as a full-duplex L_Port
with fairness. Specify 1 to configure the L_Port as a half-duplex
L_Port with fairness. Specify 0 to configure the L_Port as a
full-duplex L_Port. The default value is 0.