Setup Guide

After you have logged in, you can apply any of the following commands to configure how devices are mapped to port groups.
2. To add one or multiple devices to an N_Port , use the ag --addwwnmapping command. All listed device WWNs use the N_Port
if it is available.
The following example adds two devices to N_Port 17.
ag --addwwnmapping 17 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
The --all option edits all the currently existing mappings. None of the --all options can detect what devices are using the switch.
This option affects the mappings that are in the list.
3. To change all current device mappings to a different N_Port, use the ag --addwwnmapping command with the --all keyword.
The following command changes all the existing device mappings to use port 17.
ag --addwwnmapping 17 --all
4. To remove mapping for one or multiple devices from an N_Port, use the ag --delwwnmapping command. All listed device
WWNs no longer attempt to use the N_Port unless a device logs in through an F_Port that is mapped to the N_Port.
The following example removes two devices from N_Port 17.
ag --delwwnmapping 17 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
5. To remove all devices currently mapped from an N_Port, use the ag --delwwnmapping command with the --all keyword. All
listed devices no longer attempt to use the N_Port unless a device logs in through an F_Port that is mapped to the N_Port. The
--all keyword is a shortcut for specifying all of the devices that are already mapped with the ag --addwwnmapping command.
The following command removes all devices currently mapped to port 17.
ag --delwwnmapping 17 --all
6. Optionally, use the ag --wwnmapshow command to display the list of N_Ports mapped to WWNs and verify that the correct
WWNs have been mapped or removed from the desired N_Ports.
Disabling device mapping
Use the following procedures to disable device mapping for all or only specific devices. These procedures are useful when you want to
temporarily disable device mapping, and then enable this at a later time without reconfiguring your original mapping.
1. Connect to the switch and log in using an account assigned to the admin role.
After you have logged in, you can one of the following commands to disable how devices are mapped to port groups.
2. Use the ag --wwnmappingdisable command to disable mapping for specific WWNs. The device mappings are ignored for all
the listed device WWNs without removing the entry from the WWN mapping database.
The following example disables device mapping for two WWNs.
switch:admin> ag --wwnmappingdisable "10:00:00:06:2b:0f:71:0c; 10:00:00:05:1e:5e:2c:11"
3. Use the ag --wwnmappingdisable command with the --allto disable mapping for all available WWNs. The --all keyword will not
affect mappings made in the future. Disabled mappings can be modified without automatically enabling them.
The following example removes device mapping for all available WWNs.
switch:admin> ag --wwnmappingdisable --all
Configuring Ports in Access Gateway Mode
Brocade Fabric OS Access GatewayAdministration Guide
53-1004110-01 37