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

Enabling device mapping, Display device mapping information

Page 41 highlights

Access Gateway mapping 2 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" Enter the ag command with the ag--wwnmappingdisable with the --all option to disable mapping for all available WWNs. The -all option 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 Enabling device mapping Use the following steps to enable device mapping for all or specific devices that were previously disabled. 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --wwnmappingenable command with the "[WWN]; [WWN]" option to enable mapping for specific WWNs. The following example enables two device WWNs. switch:admin> ag --wwnmappingenable "10:00:00:06:2b:0f:71:0c; 10:00:00:05:1e:5e:2c:11" Enter the ag --wwnmappingenable with the --all option to enable mapping for all currently available WWNs. The -all option will not affect mappings made in the future, any mapping added for a new device, that is one who's mapping is not disabled, will be enabled by default. Disabled mappings can be modified with out automatically enabling them. The following command enables all previously disabled device mappings. switch:admin> ag --wwnmappingenable --all Display device mapping information Use the --wwnmapshow command to display static and dynamic mapping information about all device WWNs that have been mapped to N_Ports or N_Port groups. For each WWN, this command displays the following: • WWN - Device WWNs that are mapped to N_Ports • 1st N_Port - First or primary mapped N_Port (optional) • 2nd N_Port - Secondary or failover N_Port (optional) • PG_ID - Port Group ID where the device is mapped (mapped) • Current - The N_Port that the device is using (none displays if device not logged in) • Enabled - Indicates whether device mapping is enabled or disabled Note that new device mappings will only be enabled and display the next time the device logs into the switch. Access Gateway Administrator's Guide 21 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

Access Gateway Administrator’s Guide
21
53-1001760-01
Access Gateway mapping
2
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”
Enter the
ag
command with the
ag
--
wwnmappingdisable
with the
--all
option to disable
mapping for all available WWNs. The
-all
option 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
Enabling device mapping
Use the following steps to enable device mapping for all or specific devices that were previously
disabled.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
wwnmappingenable
command with the
“[WWN]; [WWN]”
option to enable
mapping for specific WWNs.
The following example enables two device WWNs.
switch:admin>
ag --wwnmappingenable “10:00:00:06:2b:0f:71:0c;
10:00:00:05:1e:5e:2c:11”
Enter the
ag
--
wwnmappingenable
with the -
-all
option to enable mapping for all currently
available WWNs. The -all option will not affect mappings made in the future, any mapping
added for a new device, that is one who's mapping is not disabled, will be enabled by default.
Disabled mappings can be modified with out automatically enabling them.
The following command enables all previously disabled device mappings.
switch:admin>
ag --wwnmappingenable --all
Display device mapping information
Use the
--wwnmapshow
command to display static and dynamic mapping information about all
device WWNs that have been mapped to N_Ports or N_Port groups. For each WWN, this command
displays the following:
WWN - Device WWNs that are mapped to N_Ports
1st N_Port - First or primary mapped N_Port (optional)
2nd N_Port - Secondary or failover N_Port (optional)
PG_ID - Port Group ID where the device is mapped (mapped)
Current - The N_Port that the device is using (none displays if device not logged in)
Enabled - Indicates whether device mapping is enabled or disabled
Note that new device mappings will only be enabled and display the next time the device logs into
the switch.