Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

Fabric OS Command Reference 19
53-1000599-01
ag
2
ag
Enables and manages the Access Gateway (AG) mode to perform AG specific operations.
Synopsis ag action [arguments...]
Availability Show options - all users. Set options - admin
Description Use this command to enable and disable Access Gateway mode, to display the current
configuration, to display and configure current AG modes, policies, F_Ports to N_Port mappings, to
create and manage port group configurations including adding and deleting N_Ports to a specified
port group. AG configuration changes are saved persistently as config keys. Use portCfgnPort
command to set a port as N_Port.
Notes AG is supported only on selected Brocade hardware platforms. Refer to the Fabric OS
Administrator’s Guide for Hardware support and AG configuration procedures.
Operands The command takes as input an action and its associated arguments. Without any specified action,
the command prints out the usage.
--help Displays command usage.
--show Displays the current 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_Ports. Failover
and failback policies are displayed as enabled (1) or disabled (0).
--modeshow Displays the current Access Gateway operating mode of the switch as either
enabled or disabled.
--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".
--policyshow Displays the supported AG Port policies and their status as either enabled or
disabled. AG supports two types of policies: Port Grouping (pg) and Auto Port
Configuration (auto). The Port Grouping policy manages failover of an F_Port
to a set of related N_Ports in a port group. Auto Port Configuration is disabled
by default. When this policy is enabled, the AG enabled switch will
automatically detect available ports and map F_ports to N_ports.
--policyenable policy name
Enables the specified port policy for the Access Gateway. When a new policy
is enabled, all port related configuration settings will be lost. Use the
configUpload command to save the current port configuration.
--policydisable policy name