Brocade Access Gateway Administrator's Guide v6.2.0 (53-1001189-01, April 2009)
20 Access Gateway Administrator’s Guide
53-1001189-01
Port Grouping policy
2
You can create new port groups and add N_Ports to those groups. However, all N_Ports that are not
part of any user-created port group are part of the default port group pg0.
Because port groups cannot be overlapped, if you specify an N_Port as a Preferred Secondary
N_Port and it already belongs to another port group, the Port Group creation fails.
NOTE
If the PG policy is disabled while a switch in AG mode is online, all the user-defined port groups are
deleted, but the F_Port-to-N_Port mapping remain unchanged.
Creating a port group
1. Connect to the switch and log in as admin.
2. Enter the command ag --pgcreate with the <PG_ID> “<N_Port1;N_Port2;…> [-n <PG_Name>]
operands. For example, 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
3. Enter the command ag --pgshow to verify the port group was created.
switch:admin> ag --pgshow
Port Group ID Port Group Name
------------------------------------
0 None pg0
2 0;2 SecondFabric
3 1;3 FirstFabric
------------------------------------
Adding an N_Port to a port group
1. Connect to the switch and log in as admin.
2. Enter the command ag --pgadd with the <PG_ID> “<N_Port1;N_Port2;…> operands.
If you add more than one N_Port you must separate them with a semicolon.
switch:admin> ag --pgadd 3 14
N_Port[s] are added to the port group 3
3. Enter the command ag --pgshow to verify the N_Port was added to the specified port group.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-----------------------------------------------------------------------------
0 15 pg0
3 12;13;14 Test
-----------------------------------------------------------------------------
Deleting an N_Port from a port group
1. Connect to the switch and log in as admin.
2. Enter the command ag --pgdel with the <PG_ID> <N_Port1;N_Port2;…> operands.
switch:admin> ag --pgdel 3 13
N_Port[s] are added to the port group 3