2
Access Gateway policies
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.
3. Enter the command ag --pgshow to verify the N_Port was added to the specified port group.
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.
3. Enter the command ag --pgshow to verify the N_Port was deleted from the specified port
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.
3. Enter the command ag --pgshow to verify the port group has been deleted.
20
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
switch:admin> ag --pgshow
PG_ID
N_Ports
-----------------------------------------------------------------------------
0
15
3
12;13;14
-----------------------------------------------------------------------------
switch:admin> ag --pgdel 3 13
N_Port[s] are added to the port group 3
group.
switch:admin> ag --pgshow
PG_ID
N_Ports
-----------------------------------------------------------------------------
0
13;15
3
12;14
-----------------------------------------------------------------------------
switch:admin> ag --pgremove 3
Port Group 3 has been removed successfully
switch:admin> ag --pgshow
PG_ID
N_Ports
-----------------------------------------------------------------------------
0
12;13;14;15
-----------------------------------------------------------------------------
PG_Name
pg0
Test
PG_Name
pg0
Test
PG_Name
pg0
Access Gateway Administrator's Guide
53-1000605-02