Brocade Access Gateway Administrator's Guide (53-1000605-01, October 2007)

Access Gateway Administrator’s Guide 43
53-1000605-01
Appendix
D
Access Gateway Commands
This appendix contains the commands for Access Gateway mode in the Fabric OS 6.0.0 release.
System messages can be found in the Fabric OS Message Reference. This appendix uses the same
conventions as the Fabric OS Command References.
Access Gateway commands
ag
Enables and manages Access Gateway mode to perform AG specific operations.
Usage
ag <action> [arguments]
Synopsis ag --failbackdisable <N_Port>
ag --failbackenable <N_Port>
ag --failbackshow [N_Port]
ag --failoverdisable <N_Port>
ag --failoverenable <N_Port>
ag --failovershow [N_Port]
ag --mapadd <N_Port> <F_Ports>
ag --mapdel <N_Port> <F_Ports>
ag --mapset <N_Port> <F_Ports>
ag --mapshow [N_Port]
ag --modedisable
ag --modeenable
ag --modeshow
ag --pgadd <PG_ID> “<N_Port1;N_Port2;…>”
ag --pgcreate <PG_ID> “<N_Port1;N_Port2;…>” [-n <PG_Name>]
ag --pgdel <PG_ID> “<N_Port1;N_Port2;…>”
ag --pgremove <PG_ID>
ag --pgrename <pgid> <newname>
ag --pgshow [PG_ID]
ag --policydisable <policy>
ag --policyenable <policy>
ag --policyshow
ag --prefdel “<F_Port1;F_Port2; ...>” <N_Port>
ag --prefset “<F_Port1;F_Port2; ...>” <N_Port>
ag --prefshow
ag --show
Description Use this command to enable and disable Access Gateway mode, to display the current
configuration and state, to configure and display the F_Port to N_Port mapping, and to configure
N_Port failover and failback policies.
Operands This command has the following operands: