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

22 Fabric OS Command Reference
53-1000599-01
ag
2
--prefset "F_Port [;F_Port2;...]" N_Port
Sets the preferred N_Port for one or more F_Ports. Preferred mapping is
optional. Preferred F_Port to N_Port Mapping provides an alternate N_Port for
F_Ports to come online for predictable failover and failback. An F_Port must
have primary N_Port mapping before a secondary N_Port can be configured.
The list of F_Ports to be mapped must be enclosed in quotation marks. Port
numbers must be separated by semicolon.
--prefdel "F_Port [;F_Port2;...]" N_Port
Deletes the preferred N_Port for the specified F_Port(s). The list of F_Ports to
be deleted from the secondary mapping must be enclosed in quotation
marks. Port numbers must be separated by semicolon.
--prefshow Displays the preferred N_Port for all F_Ports
Examples AG show commands:
1. To displays the current state of the Access Gateway with Failover (FO) and Failback (FB)
enabled on N_Ports 9 and 12:
switch:admin> ag --show
Name : switch_ST1
NodeName : 10:00:00:05:1e:35:9b:e7
Number of Ports : 16
IP Address(es) : 10.115.74.53
Firmware Version : v6.0.0
N_Ports : 4
F_Ports : 10
Policies enabled : pg
Port Group information :
PG_ID PG_Members PG_Name
--------------------------------------------
0 1;3 pg0
2 0;2 SecondFabric
--------------------------------------------
Fabric Information :
Attached Fabric Name N_Ports
---------------------------------------------
10:00:00:05:1e:34:01:d7 0;1;2;3
---------------------------------------------
N_Port information :
Port PortID Attached PWWN FO FB IP_Addr F_Ports
-----------------------------------------------------------
0 0x6d0a00 20:0a:00:05:1e:37:11:aa 1 0 10.32.74.109 4;5;6;
1 0x6d0b00 20:0b:00:05:1e:37:11:aa 0 1 10.32.74.109 7;8;9;
2 0x6d0c00 20:0c:00:05:1e:37:11:aa 1 0 10.32.74.109 10;11;
3 0x6d0d00 20:0d:00:05:1e:37:11:aa 0 1 10.32.74.109 12;13;
-----------------------------------------------------------
F_Port information :
Port PortID Attached PWWN N_Port Preferred N_port
----------------------------------------------------------
4 0x6d0a01 21:00:00:e0:8b:83:e3:cd 0 2
5 0x6d0a02 21:01:00:e0:8b:a3:e3:cd 0 2
6 0x6d0a03 21:00:00:e0:8b:83:3e:ce 0 2
7 0x6d0b01 21:01:00:e0:8b:a3:3e:ce 1 3
8 0x6d0b02 21:00:00:e0:8b:83:5c:cd 1 3
9 0x6d0b03 21:01:00:e0:8b:a3:5c:cd 1 3
10 0x6d0c02 10:00:00:06:2b:0a:a3:93 2 0