Reference Guide
Controlling device communication with the LSAN
The following procedure illustrates how LSANs control which devices can communicate with each other. The procedure shows the
creation of two LSANs (called "lsan_zone_fabric75" and "lsan_zone_fabric2"), which involve the following devices and connections:
∙ Switch1 and the host in fabric75
∙ Switch2, Target A, and Target B in fabric2
∙ Switch1 is connected to the FC router using an EX_Port or VEX_Port
∙ Switch2 is connected to the FC router 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)
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
The nsShow output displays the LSAN zone status of a device, the port WWN, and the node WWN; the port WWN
must be used for LSANs.
switch:admin> 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
LSAN: Yes
The Local Name Server has 1 entry }
3. Enter the zoneCreate command to create the LSAN "lsan_zone_fabric75", which includes the host.
switch:admin> zonecreate "lsan_zone_fabric75", "10:00:00:00:c9:2b:c9:0c"
4. Enter the zoneAdd command to add Target A to the LSAN.
FID75Domain5:admin> zoneadd "lsan_zone_fabric75", "50:05:07:61:00:5b:62:ed"
5. Enter the cfgAdd or cfgCreate and cfgEnable commands to add and enable the LSAN configuration.
switch:admin> cfgadd "zone_cfg", "lsan_zone_fabric75"
switch:admin> 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 ...
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> 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
Using FC-FC Routing to Connect Fabrics
Brocade Fabric OS Administration Guide, 8.0.1
520 53-1004111-02