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

Deleting an N_Port from a port group, Removing a port group, Disabling the Port Grouping policy

Page 55 highlights

Port Grouping policy 3 Deleting an N_Port from a port group Before deleting an N_Port, all F_Ports mapped to that N_Port should be remapped before that N_Port is deleted from a port group. 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --pgdel command with the appropriate operands to delete an N_Port from a specific port group. In the following example, N_Port 13 is removed from port group 3. switch:admin> ag --pgdel 3 13 N_Port[s] are deleted from port group 3 3. Enter the command ag --pgshow to verify the N_Port was deleted from the specified port group. switch:admin> ag --pgshow PG_ID PG_Name PG_Mode N_Ports F_Ports 0 pg0 lb,mfnm 1;3 10;11 2 SecondFabric - 0;2 4;5;6 Removing a port group 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --pgremove command with appropriate operands to remove a port group. In the following example, port group 3 us removed. switch:admin> ag --pgremove 3 Port Group 3 has been removed successfully Renaming a port group 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --pgrename command with appropriate operands to rename port group. In the following example, port group pgid 2 is renamed to MyEvenFabric. switch:admin> ag --pgrename 2 MyEvenFabric Port Group 2 has been renamed as MyEvenFabric successfully Disabling the Port Grouping policy The Port Grouping (PG) policy is enabled by default for Access Gateway. To disable this policy, use the following steps. 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --policydisable command. switch:admin> ag --policydisable pg. Access Gateway Administrator's Guide 35 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
35
53-1001760-01
Port Grouping policy
3
Deleting an N_Port from a port group
Before deleting an N_Port, all F_Ports mapped to that N_Port should be remapped before that
N_Port is deleted from a port group.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
pgdel
command with the appropriate operands to delete an N_Port from a
specific port group. In the following example, N_Port 13 is removed from port group 3.
switch:admin>
ag --pgdel 3 13
N_Port[s] are deleted from port group 3
3.
Enter the command
ag
--
pgshow
to verify the N_Port was deleted from the specified port
group.
switch:admin>
ag --pgshow
PG_ID PG_Name
PG_Mode
N_Ports
F_Ports
-----------------------------------------------
0
pg0
lb,mfnm
1;3
10;11
2
SecondFabric
-
0;2
4;5;6
-----------------------------------------------
Removing a port group
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
pgremove
command with appropriate operands to remove a port group. In the
following example, port group 3 us removed.
switch:admin>
ag --pgremove 3
Port Group 3 has been removed successfully
Renaming a port group
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
pgrename
command with appropriate operands to rename port group. In the
following example, port group pgid 2 is renamed to MyEvenFabric.
switch:admin>
ag --pgrename 2 MyEvenFabric
Port Group 2 has been renamed as MyEvenFabric successfully
Disabling the Port Grouping policy
The Port Grouping (PG) policy is enabled by default for Access Gateway. To disable this policy, use
the following steps.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
policydisable
command.
switch:admin>
ag --policydisable pg
.