Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

16 Fabric OS Command Reference Manual
53-1000436-01
ag
2
ag
Enables and manages the Access Gateway(AG) mode to perform AG specific operations.
Synopsis ag --show
ag --modeshow
ag --modeenable
ag --modedisable
ag --mapshow [N_Port]
ag --mapset [<N_Port> <F_Ports>]
ag --mapadd [<N_Port> <F_Ports> ]
ag --mapdel [<N_Port> <F_Ports>]
ag --failovershow [N_Port]
ag --failoverdisable <N_Port>
ag --failoverenable <N_Port>
ag --failbackshow [N_Port]
ag --failbackdisable <N_Port>
ag --failbackenable <N_Port>
Description Use this command to enable and disable Access Gateway mode, to display the current
configuration state, to configure and display the failover and failback policies, and to display the
F_Ports to N_Port mapping. These configuration changes are saved persistently as config keys. Use
portcfgnport to set a port as N_Port.
Operands This command has the following operands:
--show Displays detailed information regarding the configuration of the Access
Gateway. This includes all N_Ports and F_Ports that are currently online,
failover and failback settings as well as any online F_Ports that are currently
mapped to N_PortsDisplays the N_Ports and F_Ports that are currently
online, if failover is enabled, and shows their mapping. For Failover
1=enabled and 0=disabled.
--modeshow Displays the current operating mode of the switch, either Access Gateway or
native fibre channel switch mode.
--modeenable Enables Access Gateway mode for a switch. Note: Long distance mode
settings should be cleared for all ports on the NPIV edge switch to which the
AG is connected. Otherwise, the NPIV switch port will display the long
distance port type along with the F_port.
--modedisable Disables Access Gateway mode for a switch. Note: After AG mode is disabled,
the switch will come online with default zone access set to "No Access". In
order to merge the switch to a fabric you must set the default zone to "All
Access" and disable/enable the E_Port".
--mapshow [N_Port]