Brocade Access Gateway Administrator's Guide Supporting Fabric OS v7.0.0 (53-1002156-01, April 2011)

22 Access Gateway Administrator’s Guide
53-1002156-01
Access Gateway mapping
2
Enabling device mapping
Use the following steps to enable device mapping for all or specific devices that were previously
disabled.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag
--wwnmappingenable command with the [WWN]; [WWN] option to enable
mapping for specific WWNs.
The following example enables two device WWNs.
switch:admin> ag --wwnmappingenable “10:00:00:06:2b:0f:71:0c;
10:00:00:05:1e:5e:2c:11”
Enter the ag --wwnmappingenable command with the --all option to enable mapping for all
currently available WWNs. The --all option will not affect mappings made in the future. Any
mapping added for a new device (a device for which mapping is not disabled) will be enabled
by default. Disabled mappings can be modified without automatically enabling them.
The following command enables all previously disabled device mappings.
switch:admin> ag --wwnmappingenable --all
Displaying device mapping information
Use the --wwnmapshow command to display static and dynamic mapping information about all
device WWNs that have been mapped to N_Ports or N_Port groups. For each WWN, this command
displays the following:
WWN - Device WWNs that are mapped to N_Ports
1st N_Port - First or primary mapped N_Port (optional)
2nd N_Port - Secondary or failover N_Port (optional)
PG_ID - Port Group ID where the device is mapped (mapped)
Current - The N_Port that the device is using (none displays if the device is not logged in)
Enabled - Indicates whether device mapping is enabled or disabled
Note that new device mappings will only be enabled and display the next time the device logs in to
the switch.
The following example displays output for the --wwnmapshow command.
switch:admin> ag --wwnmapshow
Static Device Mapping Information:
WWN 1st N_Port 2nd N_Port PG_ID Current Enabled
--------------------------------------------------------------------------------
10:00:00:06:2b:11:52:df 23 None None 23 yes
01:02:03:04:05:06:07:08 22 23 1 None yes
01:02:03:04:05:06:07:09 22 0 1 None yes
0b:0a:0d:01:02:03:04:05 None 22 2 None no
Dynamic Device Mapping Information:
--------------------------------------------------------------------------------
No dynamic mappings in use