Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 25
53-1000599-02
ag
2
switch:admin> ag --modeshow
Access Gateway mode is NOT enabled.
AG group policy commands
1. To show current policies:
switch:admin> ag --policyshow
Policy_Description Policy_Name State
------------------------------------------------------------------
Port Grouping pg Enabled
Auto Port Configuration auto Disabled
Advanced Device Security ads Disabled
------------------------------------------------------------------
switch:admin> ag --policyshow
Policy_Description Policy_Name State
------------------------------------------------------------------
Port Grouping pg Disabled
Auto Port Configuration auto Enabled
Advanced Device Security ads Enabled
------------------------------------------------------------------
2. To enable a port grouping policy:
switch:admin> ag --policyenable pg
3. To disable a port grouping policy
switch:admin> ag --policydisable pg
4. To enable auto policy when both policies are disabled and the switch is already disabled:
switch:admin> ag --policyeanble auto
All Port related configurations will be lost.
Please save the current configuration using configupload.
Do you want to continue? (yes, y, no, n): [no] y
5. To disable auto policy when the switch is disabled:
switch:admin> ag --policydisable auto
Default factory settings will be restored.
Default mappings will come into effect.
Please save the current configuration using configupload.
Do you want to continue? (yes, y, no, n): [no] y
Access Gateway configuration has been restored to factory default
6. To enable ADS policy:
switch:admin> ag--policyenable ads
The policy ADS is enabled
7. To disable ADS policy:
switch:admin> ag--policydisable ads
The policy ADS is disabled