beautypg.com

Device mapping to n_ports, Disabling device mapping – Dell POWEREDGE M1000E User Manual

Page 40

background image

20

Access Gateway Administrator’s Guide

53-1001760-01

Access Gateway mapping

2

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 assigned to the admin role.

2. To add one or multiple devices to an N_Port, enter the ag --addwwnmapping N_Port command

with the “[WWN];[WWN]” option. All the listed device WWNs will 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 options edit all the currently existing mappings. none of the --all options have any way
to detect what devices are using the switch. This option just edits the mappings that are in the
list.

To change all current device mappings to a different N_Port, enter the ag --addwwnmapping
N_Port
command with the --all option.

The following command changes all the existing device mappings to use port 17.

ag --addwwnmapping 17 --all

3. To remove mapping for one or multiple devices to an N_Port, enter the ag --delwwnmapping

N_Port command with the “[WWN];[WWN]” option. All the listed device WWNs will no longer try
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”

To remove all devices currently mapped to an N_Port, enter the ag --delwwnmapping N_Port
command with the --all option. All the listed devices will no longer try to use the N_Port unless
a device logs in through an F_Port that is mapped to the N_Port. The -all option is a shortcut for
specifying all of the devices that are already mapped with the addwwnpgmapping command.

The following command removes all devices currently mapped to port 17.

ag --delwwnmapping 17 --all

4. Enter 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_Port(s).

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, then enable this at a
later time without reconfiguring your original mapping. To enable disabled mapping, refer to

“Enabling device mapping”

on page 21.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the ag

--

wwnmappingdisable with the “[WWN]; [WWN]” option to disable mapping for

specific WWNs. The device mappings will be ignored for all the listed device WWNs without
removing the entry from the WWN mapping database.