HP StorageWorks Fabric OS 5.2.x administrator guide (5697-0014, November 2009)

Fabric OS 5.2.x administrator guide 217
Switch2 is connected to the 4/256 SAN Director with an B-Series MP Router blade using another
EX_Port or VEX_Port
Host has WWN 10:00:00:00:c9:2b:c9:0c (connected to switch1)
Target A has WWN 50:05:07:61:00:5b:62:ed (connected to switch2)
Target B has WWN 50:05:07:61:00:49:20:b4 (connected to switch2)
The following procedure shows how to control device communication with LSAN.
To control device communication with LSAN
1. Log in as admin and connect to switch1.
2. Enter the nsShow command to list the WWN of the host (10:00:00:00:c9:2b:c9:0c). Note that the
nsShow output displays both the port WWN and node WWN; the port WWN must be used for
LSANs.
3. Enter the zoneCreate command to create the LSAN lsan_zone_fabric75, which includes the host.
4. Enter the zoneAdd command to Target A to the LSAN.
5. Enter the cfgAdd and cfgEnable commands to add and enable the LSAN configuration:
6. Log in as admin to fabric2.
7. Enter the nsShow command to list Target A (50:05:07:61:00:5b:62:ed) and Target B
(50:05:07:61:00:49:20:b4).
switch:admin_06> nsshow
{
Type Pid COS PortName NodeName TTL(sec)
N 060f00; 2,3; 10:00:00:00:c9:2b:c9:0c; 20:00:00:00:c9:2b:c9:0c; na
FC4s: FCP
NodeSymb: [35] "Emulex LP9002 FV3.91A3 DV5-5.20A6 "
Fabric Port Name: 20:0f:00:05:1e:37:00:44
Permanent Port Name: 10:00:00:00:c9:2b:c9:0c
The Local Name Server has 1 entry }
switch:admin_06> zonecreate "lsan_zone_fabric75", "10:00:00:00:c9:2b:c9:0c"
FID75Domain5:admin> zoneadd "lsan_zone_fabric75", "50:05:07:61:00:5b:62:ed"
switch:admin_06> cfgadd "zone_cfg", "lsan_zone_fabric75"
switch:admin_06> cfgenable "zone_cfg"
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected.
Do you want to enable 'zone_cfg' configuration (yes, y, no, n): [no] y
zone config "zone_cfg" is in effect
Updating flash …
switch:admin_06> nsshow
{
Type Pid COS PortName NodeName TTL(sec)
NL 0508e8; 3; 50:05:07:61:00:5b:62:ed; 50:05:07:61:00:1b:62:ed; na
FC4s: FCP [IBM DNEF-309170 F90F]
Fabric Port Name: 20:08:00:05:1e:34:11:e5
Permanent Port Name: 50:05:07:61:00:5b:62:ed
NL 0508ef; 3; 50:05:07:61:00:49:20:b4; 50:05:07:61:00:09:20:b4; na
FC4s: FCP [IBM DNEF-309170 F90F]
Fabric Port Name: 20:08:00:05:1e:34:11:e5
Permanent Port Name: 50:05:07:61:00:49:20:b4
The Local Name Server has 2 entries }