Setup Guide

NOTE
Static and dynamic mapping only applies to NPIV devices and cannot redirect devices that are physically attached to Access
Gateway devices because physically-attached devices use port maps to connect to the fabric.
Device mapping to port groups (recommended)
Device mapping is recommended when a number of devices must connect to the same group of N_Ports. This approach provides the
flexibility to move the devices to any available F_Port. Device mapping provides load balancing and connects the device to the least-
loaded N_Port in the group when the device comes online. For more information on port groups, refer to Port Grouping policy on page
52.
Use the following steps to map one or more devices to an N_Port group or to remove device mapping from an N_Port group.
1. Connect to the switch and log in using an account assigned to the admin role.
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 device WWNs to an N_Port group , use the ag --addwwnpgmapping command.
All the listed device WWNs will use the least-loaded N_Port in the port group when they log in, unless a specific device
mapping can be used instead. This command can only map devices currently connecting through NPIV.
The following example adds two devices to port group 3.
ag --addwwnpgmapping 3 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
3. To change all currently existing device mappings to a different port group, use the --all keyword instead of listing all the WWNs.
The following example changes all the currently mapped devices to use port group 3 instead of the current port group
mappings.
ag --addwwnpgmapping 3 --all
4. To remove one or multiple devices to an N_Port group , use the ag --delwwnpgmapping command.
All the listed devices stop using the least-loaded N_Port in the group when they log in.
The following example removes mapping for two devices from port group 3.
ag --delwwnpgmapping 3 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11"
5. To remove all devices mapped to an N_Port group, use the command with the --all keyword instead of listing all WWNs. All of
the devices will cease automatic use of the least-loaded port in the port group when they log in. The --all keyword is a shortcut
for specifying all of the devices that are already mapped with the ag --addwwnpgmapping command.
The following example removes all devices mapped to port group 3.
ag --delwwnpgmapping 3 --all
6. Optionally, you can use the ag --wwnmapshow command to display the list of WWNs mapped to port groups and verify that
the correct devices have been mapped to the desired port group.
Device mapping to N_Ports
Use the following steps to add one or more devices to an N_Port to route all device traffic to and from the device through the specified
N_Port. Also use these steps to remove device mapping to an N_Port.
1. Connect to the switch and log in using an account with admin permissions.
Configuring Ports in Access Gateway Mode
Brocade Fabric OS Access GatewayAdministration Guide
36 53-1004110-01