HP 8/40 Access Gateway Administrator's Guide (53-1001760-01, June 2010) - Page 40

Device mapping to N_Ports, Disabling device mapping

Page 40 highlights

2 Access Gateway mapping 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. 20 Access Gateway Administrator's Guide 53-1001760-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

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.