Access Gateway Administrator's Guide (53-1001760-01, June 2010)

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.