Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Command Reference Manual page 52

Brocade fabric os command reference guide v6.1.0 (53-1000599-02, june 2008)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

2
ag
AG port mapping commands
1. To display current port mappings and port grouping policies:
2. To clear all F_Ports mapped to the configured primary N_Port 0:
3. To add F_Ports 4 and 6 to N_Port 0 (observe that Port 0 has no configured F_Ports):
4. To add F_Port 5 to N_Port 2 (observe that N_Port 2 already has mapped F_Ports):
5. To display the new mappings:
6. To delete F_Port 5 that was mapped to N_Port 2:
26
switch:admin> ag --mapshow
N_Port Configured_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
-----------------------------------------------------------------------------
0
4;5;6
1
7;8;9
2
10;11
3
12;13
-----------------------------------------------------------------------------
Explanation of fields in --mapshow output:
-
Current F_Ports are the F_Ports that are currently online and mapped to a given N_Port
either because they are mapped to that N_Port or as a result of N_Port failover.
-
Configured F_Ports are the F_Ports that are explicitly mapped to this N_Port (saved in
config).
-
Failover and Failback indicate whether or not N_Port policy is enabled (1) or disabled (0).
-
PG_ID is the Port Group ID and PG_Name is the Port Group Name.
switch:admin> ag --mapset 0 ""
F_Port to N_Port mapping has been updated successfully
switch:admin> ag --mapset 0 "4;6"
F_Port to N_Port mapping has been updated successfully
switch:admin> ag --mapadd 2 "5"
switch:admin> ag --mapshow
N_Port Configured_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
----------------------------------------------------------------------------
0
4;6
1
7;8;9
2
5;10;11
3
12;13
----------------------------------------------------------------------------
switch:admin> ag --mapdel 2 "5"
Preferred N_port is set for F_Port[s]
Please delete it before removing primary N_Port
ERROR:Unable to remove F_Port[s] from mapping,
retry the command
switch:admin> ag --prefshow
F_Ports
-------------------------------------------------
10;11
4;5;6
7;8;9
-------------------------------------------------
4;5;6
1
7;8;9
0
10;11
1
12;13
0
4;6
1
7;8;9
0
5;10;11
1
12;13
0
Preferred N_Port
0
2
3
0
2
SecondFabric
1
0
pg0
0
2
SecondFabric
1
0
pg0
0
2
SecondFabric
1
0
pg0
0
2
SecondFabric
1
0
pg0
Fabric OS Command Reference
53-1000599-02

Advertisement

Table of Contents
loading

Table of Contents