Brocade Access Gateway Administrator's Guide (53-1000605-01, October 2007)
Access Gateway Administrator’s Guide 35
53-1000605-01
Managing policies
4
To remove a port group from the switch
1. Connect and log in to the switch.
2. Enter the command ag --pgremove with the <PG_ID> operands.
switch:admin> ag --pgremove 3
Port Group 3 has been removed successfully
3. Enter the command ag --pgshow to verify the port group has been deleted.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-----------------------------------------------------------------------------
0 12;13;14;15 pg0
-----------------------------------------------------------------------------
To rename a port group
1. Connect and log in to the switch.
2. Enter the command ag --pgrename with the <PG_ID> <newname> operands.
switch:admin> ag --pgrename 3 pg3
Port Group 3 has been renamed as pg3 successfully
3. Enter the command ag --pgshow to verify the port group has been deleted.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-----------------------------------------------------------------------------
0 13;15 pg0
3 12;14 pg3
-----------------------------------------------------------------------------
To disable the Port Group policy
1. Connect and log in to the switch.
2. Enter the command ag --policydisable with the pg operand.
switch:admin> ag --policydisable pg
3. Enter the command ag --pgshow to verify the Port Group policy has been disabled.
switch:admin> ag --policyshow
AG Policy Policy Name State
----------------------------------------------------------
Port Grouping pg Disabled
Auto Port Configuration auto Disabled
----------------------------------------------------------
Automatic Port Configuration (APC)
By default, the APC is disabled. You do not need to perform any additional tasks after the policy is
enabled because this policy configures and maps the switch’s ports automatically.
APC is mutually exclusive with the Port Group policy. In the APC, only a single port group is allowed.
The APC automatically enables the Failover and Failback policies and they cannot be disabled
when APC is enabled. The Preferred Secondary N_Port setting is ignored.