Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

Fabric OS Command Reference 29
53-1001337-01
ag
2
switch:admin> ag --policyshow
AG Policy 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 port configuration policy when both policies are disabled and the switch is
already disabled:
switch:admin> ag --policyenable 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 port configuration 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
AG port mapping commands
1. To display current port mappings and port grouping policies:
switch:admin> ag --mapshow
N_Port Configured_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
-----------------------------------------------------------------------------
0 4;5;6 4;5;6 1 0 2 SecondFabric
1 7;8;9 7;8;9 0 1 0 pg0
2 10;11 10;11 1 0 2 SecondFabric
3 12;13 12;13 0 1 0 pg0
-----------------------------------------------------------------------------