Brocade Access Gateway Administrator's Guide Supporting Fabric OS v7.0.0 (53-1002156-01, April 2011)

Access Gateway Administrator’s Guide 37
53-1002156-01
Port Grouping policy
3
Deleting an N_Port from a port group
Before deleting an N_Port, all F_Ports mapped to the N_Port should be remapped before the
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 options 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 ag --pgshow command 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 the appropriate options to remove a port group. In
the following example, port group 3 is 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 the appropriate options to rename a port group. In
the following example, port group 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 to disable the Port Grouping policy.
switch:admin> ag --policydisable pg