Brocade Access Gateway Admin Guide v6.1.0 (53-1000605-02, June 2008)

20 Access Gateway Administrator’s Guide
53-1000605-02
Access Gateway policies
2
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
3. Enter the command ag --pgshow to verify the N_Port was deleted from the specified port
group.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-----------------------------------------------------------------------------
0 13;15 pg0
3 12;14 Test
-----------------------------------------------------------------------------
Removing a port group
1. Connect to the switch and log in as admin.
2. Enter the command ag --pgremove with the <PG_ID> operands.
switch:admin> ag --pgremove 3
Port Group 3 has been removed successfully
3. Enter the command ag --pgshow to verify the port group has been deleted.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
-----------------------------------------------------------------------------
0 12;13;14;15 pg0
-----------------------------------------------------------------------------