Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 27
53-1000599-02
ag
2
switch:admin> ag --prefdel 5 2
Preferred N_Port is deleted successfully for the F_Port[s]
switch:admin> ag --mapdel 2 “5”
F_Port to N_Port mapping has been updated successfully
NOTE: Preferred Port commands are discussed in detail below.
AG failover policy commands
1. To display failover policy settings for all N_Ports:
switch:admin> ag --failovershow
N_Port failover_bit
---------------------------
0 1
1 0
2 1
3 0
2. To set and display failover and failback policies on a single port:
switch:admin> ag --failoverenable 1
Failover policy is enabled for port 1
switch:admin> ag --failoverdisable 0
Failover policy is disabled for port 0
switch:admin> ag --failovershow 0
Failover on N_Port 0 is not supported
switch:admin> ag --failbackdisable 2
Failback policy is disabled for port 2
admin> ag --failbackshow 2
Failback on N_Port 2 is not supported
switch:admin> ag --failbackenable 2
Failback policy is enabled for port 2
3. To display failback policy settings for all the N_Ports:
switch:admin> ag --failbackshow
N_Port failback_bit
---------------------------
0 0
1 1
2 0
3 1
4. To set and display failback policy settings on a single port:
switch:admin> ag --failbackenable 0
Failback policy cannot be enabled since failover
policy is disabled for port 0
switch:admin> ag --failbackenable 2
Failback policy is enabled for port 2
switch:admin> ag --failbackenable 3
Failback on N_Port 3 is not supported