Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 66

Advertising
background image

36

Fabric OS Command Reference

53-1003131-01

ag

2

0 4;6 None 4;6 1 0 2 SecondFabric

1 7;8;9 None 7;8;9 0 1 0 pg0

2 5;10;11 None 5;10;11 1 0 2 SecondFabric

3 12;13 None 12;13 0 1 0 pg0

------------------------------------------------------------------

To delete F_Port 5 that was mapped to N_Port 2:

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 Preferred N_Port

-----------------------------------------------

10;11 0

4;5;6 2

7;8;9 3

----------------------------------------------

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

To create and display a static mapping:

switch:admin> ag --staticadd 17 1

switch:admin> ag --show

N_Port information :

Port PortID Attached PWWN Attached_Switch

F-port\

-----------------------------------------------------\

0 0x010100 50:00:51:ed:6f:8e:60:28 Spirit \

17 0x010100 50:00:51:ed:6f:8e:60:28 Spirit \

Switch FO FB IP_Addr F_Ports

--------------------------------------------

0 1 1 10.17.31.170 4;5;23;

0 1 1 10.17.31.170 None

-------------------------------------------

F_Port information :

Port PortID Attached PWWN N_Port Preferred \

------------------------------------------------

4 0x010103 20:00:00:05:1e:85:92:88 0 \

5 0x010102 20:01:00:05:1e:85:92:88 0 \

N_port Login Exceeded?

-------------------------

None No

None No

---------------------------------------------------

N_Port Configured Current Failover Failback PG_ID PG_Name

Advertising