Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)
30 Fabric OS Command Reference
53-1001186-01
ag
2
3. To display failback policy settings for all the N_Ports:
switch:admin> ag --failbackshow
N_Port failback_bit
---------------------------
0 0
1 1
2 0
3 1
4. To set and display failback policy settings on a single port:
switch:admin> ag --failbackenable 0
Failback policy cannot be enabled since failover
policy is disabled for port 0
switch:admin> ag --failbackenable 2
Failback policy is enabled for port 2
switch:admin> ag --failbackenable 3
Failback on N_Port 3 is not supported
switch:admin> ag --failbackenable 2
Failback on N_Port 2 is supported
Port Group commands
1. To display Port Group information:
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-------------------------------------
0 1;3 pg0
2 0;2 SecondFabric
--------------------------------------
2. To create a port group “FirstFabric” that includes N_Ports 1 and 3:
switch:admin> ag --pgcreate 3 “1;3” -n FirstFabric1
Port Group 3 created successfully
switch:admin> ag --pgshow
Port Group ID Port Group Name
------------------------------------
0 None pg0
2 0;2 SecondFabric
3 1;3 FirstFabric
------------------------------------
3. To rename port group with pgid 2 to "MyEvenFabric"
switch:admin> ag --pgrename 2 MyEvenFabric
Port Group 2 has been renamed as MyEvenFabric successfully
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
--------------------------------------
0 None pg0
2 0;2 MyEvenFabric
3 1;3 FirstFabric
--------------------------------------