HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 335
Configuration scenarios
The actual number of virtual N_Port_IDs accepted per port and per switch is determined by the limits you
set, and also by the limit that is reached first.
For example, if you have set switch.login.perPortMax to 25, and
switch.login.perSwitchMax to 100, the first 4 ports will accept up to 25 virtual N_Port_IDs each.
However, the fifth port will reject any more virtual N_Port_IDs because the
switch.login.perSwitchMax parameter (100) has been reached.
If you set switch.login.perPortMax to 50, and switch.login.perSwitchMax to 25, the first
port requests 50 virtual N_Port_IDs; 25 are accepted, and 25 are rejected. The second port requests 50
virtual N_Port_IDs, but none are accepted, because the switch.login.perSwitchMax limit of 25 has
been reached.
Viewing NPIV port configuration information
To view the NPIV capability of switch ports, enter the portCfgShow command.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the portCfgShow command to view the switch ports information.
Alternatively, you can enter the switchShow command to view the WWN of an N_Port,
or
Enter the portShow command to view the N_Port attributes.
The following example shows whether or not a port is configured for NPIV:
switch:admin> portcfgshow
Ports of Slot 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-----------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--
Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN
Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
Long Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
RSCN Suppressed .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
NPIV capability ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
Use the switchShow and portShow commands to view NPIV information for a given port. If a port is an
F_Port, and you enter the switchShow command, the port WWN of the N_Port is returned. For an NPIV
F_Port, there are multiple N_Ports, each with a different port WWN. The switchShow command output
indicates whether or not a port is an NPIV F_Port, and identifies the number of virtual N_Ports behind it.
The following is sample output from the switchShow command:
switch: admin> switchshow
switchName:swd77
switchType:32.0
switchState: Online
switchMode:Native
switchRole:Principal
switchDomain: 99
switchId:fffc63
switchWwn:10:00:00:05:1e:35:37:40
zoning: OFF
switchBeacon:OFF
Area Port Media Speed State
==============================