Brocade Access Gateway Administrator's Guide Supporting Fabric OS v7.0.0 (53-1002156-01, April 2011)

Access Gateway Administrator’s Guide 39
53-1002156-01
Port Grouping policy
3
3. Enter the ag --pgshow command to verify the port group was created.
switch:admin> ag --pgshow
PG_ID PG_Name PG_Mode N_Ports F_Ports
-----------------------------------------------
0 pg0 lb,mfnm none none
2 SecondFabric - 0;2 4;5;6
3 FirstFabric lb 1;3 10;11
Rebalancing F_Ports
To minimize disruption that could occur once F_Ports go offline or when additional N_Ports are
brought online, you can modify the default behavior of Automatic Login Balancing mode by
disabling or enabling rebalancing of F_Ports when F_Port offline or N_Port online events occur.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the agautomapbalance --enable command with the appropriate options to enable
automatic login redistribution of F_Ports. In the following example, rebalancing of F_Ports in
port group 1 in Access Gateway is enabled when an F_Port online event occurs.
switch:admin> agautomapbalance --enable -fport -pg 1
3. Enter the agautomapbalance --disable - all command with the appropriate options to disable
automatic login distribution of N_Ports for all port groups in the Access Gateway when an
N_Port online event occurs.
switch:admin> agautomapbalance --disable -nport -all
4. Enter the agautomapbalance --disable - all command with the appropriate options to disable
automatic login distribution of F_Ports for all port groups in the Access Gateway when an
F_Port online event occurs.
switch:admin> agautomapbalance --disable -fport -all
5. Enter the agautomapbalance --show command to display the automatic login redistribution
settings for port groups. In the following example, there are two port groups, 0 and 1.
switch:admin> agautomapbalance --show
AG Policy: pg
--------------------------------------------
PG_ID LB mode nport fport
--------------------------------------------
0 Enabled Enabled Disabled
1 Disabled - -
---------------------------------------------
This command also displays the automatic login redistribution settings for N_Ports and
F_Ports, as shown in the following example.
switch:admin> agautomapbalance --show
-------------------------------------------------
AG Policy: Auto
-------------------------------------------------
automapbalance on N_Port Online Event: Disabled
automapbalance on F_Port Offline Event: Enabled