Dell Brocade M5424 Brocade 7.1.0 Access Gateway Administrator's Guide - Page 45

Device mapping to N_Ports, Port_Group, N_Port

Page 45 highlights

Access Gateway mapping 2 Use the following steps to map one or more devices to an N_Port group or remove device mapping from an N_Port group. 1. Connect to the switch and log in using an account assigned to the admin role. 2. To add one or multiple device WWNs to an N_Port group, enter the ag --addwwnpgmapping Port_Group command with the [WWN];[WWN] option. 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 option 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, enter the ag --delwwnpgmapping Port_Group command with the [WWN];[WWN] option. All the listed devices will 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, enter the command with the --all option 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 option is a shortcut for specifying all of the devices that are already mapped with the addwwnpgmapping command. The following example removes all devices mapped to port group 3. ag --delwwnpgmapping 3 --all 6. Enter 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 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 option edits all the currently existing mappings. None of the --all options have any way to detect what devices are using the switch. This option edits the mappings that are in the list. Access Gateway Administrator's Guide 25 53-1002743-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Access Gateway Administrator’s Guide
25
53-1002743-01
Access Gateway mapping
2
Use the following steps to map one or more devices to an N_Port group or remove device mapping
from an N_Port group.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
To add one or multiple device WWNs to an N_Port group, enter the
ag --addwwnpgmapping
Port_Group
command with the
[WWN];[WWN]
option.
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
option
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, enter the
ag --delwwnpgmapping
Port_Group
command with the
[WWN];[WWN]
option.
All the listed devices will 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, enter the command with the -
-all
option
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
option is a shortcut for specifying all of the devices
that are already mapped with the
addwwnpgmapping
command.
The following example removes all devices mapped to port group 3.
ag --delwwnpgmapping 3 --all
6.
Enter 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 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
option edits all the currently existing mappings. None of the
--all
options have any way
to detect what devices are using the switch. This option edits the mappings that are in the list.