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

Table Of Contents
28 Fabric OS Command Reference
53-1000599-02
ag
2
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
--------------------------------------
4. To remove port group with pgid 2:
switch:admin> ag --pgremove 2
Port Group 2 has been removed successfully
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-------------------------------------------
0 0;2 pg0
3 1;3 FirstFabric
-------------------------------------------
AG Preferred port information commands
1. To display preferred port settings for F_Ports:
switch:admin> ag --prefshow
F_Ports Preferred N_Port
------------------------------------------
10;11 0
12;13 1
4;6 2