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

32 Access Gateway Administrator’s Guide
53-1000605-01
Managing policies
4
switch:admin> portcfgnport 10 0
Alternatively, to lock a port in N_Port mode, enter the portCfgNport <portnumber> 1
command.
switch:admin> portcfgnport 10 1
4. Enter the portCfgNport command to display the N_Port lock settings and verify that the port is
no longer locked in N_Port mode.
switch:admin> portcfgnport
Ports 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--
Locked N_Port .. .. .. .. .. .. .. .. .. .. .. ON ON ON ON ON
Managing policies
This section explains how to manage the Path Failover, Failback, Port Grouping, and Automatic Port
Configuration (APC) policies on an Access Gateway switch.
Path Failover and Failback policies
The Path Failover and Failback policies determine the behavior of the F_Port when the primary
N_Port they are mapped to goes offline or is disabled. By default, the Path Failover and Failback
policies are enabled. This section explains how to change the policy settings.
The Path Failover and Failback processes are disruptive. When a host connection fails over and
fails back to another online N_Port, the F_Port connection disables, and then re-enables on the
new N_Port. Each time the host changes N_Ports, it receives a new PID. The host must establish a
new session to the fabric
ATTENTION
If the Failback policy is enabled and autofailback occurs, this disrupts traffic because the ports must
re-log in to the original mapped port.
Enabling the path failover policy
A switch in Access Gateway mode supports automatic N_Port failover to other N_Ports within its
port group. When a port is first configured as an N_Port, the failover policy is enabled by default. If
there are multiple online N_Ports connected to the same fabric, the mapped F_Ports are
distributed evenly among the N_Ports.
Failover generates an error message.
To enable the Path Failover policy
1. Connect and log in to the switch.
2. Enter the ag command with the
--failovershow <n_portnumber> operand to display the
failover setting.
switch:admin> ag --failovershow 13
Failover on N_Port 13 is not supported