对Brocade交换机端口进行连续链路重置(LR)
适用场景
- 所有Brocade FC交换机平台
- 所有Brocade光纤操作系统固件级别
问题描述
- 报告一个端口上的链路重置:
2020/09/01-09:22:48 (CET), [C5-1014], 2001, CHASSIS | PORT 0/13, WARNING, BrocadeG720, Link Reset on Port S0,P13(52) vc_no=0 crd(s)lost=5 auto trigger.
- 端口#上的映射报告连续链路重置(LR),如
errdump -a
中所示:
2020/09/01-14:54:34, [MAPS-1003], 796, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 2], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
2020/09/01-15:16:53, [LOG-1000], 798, FID 128, INFO, brocade_switch, Previous message repeated 2 time(s).
2020/09/01-15:20:34, [MAPS-1003], 799, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 2], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
2020/09/01-15:46:53, [LOG-1000], 802, FID 128, INFO, brocade_switch, Previous message repeated 3 time(s).
2020/09/01-15:46:58, [MAPS-1003], 803, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 4], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
2020/09/01-15:56:10, [MAPS-1003], 804, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 2], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
2020/09/01-16:01:22, [MAPS-1003], 805, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 4], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
2020/09/01-16:16:53, [LOG-1000], 806, FID 128, INFO, brocade_switch, Previous message repeated 1 time(s).
2020/09/01-16:23:40, [MAPS-1003], 807, FID 128, WARNING, brocade_switch, onpom_fc0, F-Port 13, Condition=ALL_F_PORTS(LR/min>=1), Current Value:[LR, 4], RuleName=CNLV_CMPLNT_LR, Dashboard Category=Port Health.
- 验证porterrshow会报告过多的链路故障计数器:
frames enc crc crc too too bad enc disc link loss loss frjt fbsy c3timeout pcs uncor
tx rx in err g_eof shrt long eof out c3 fail sync sig tx rx err err
376: 298.7k 501.9k 0 0 0 0 0 0 0 0 9.9k 0 0 0 0 0 0 0 0
- 中断、lli、proc_Rqrd、LR_IN、LR_OUT、OLS_IN、OLS_OUT在
portshow
中增加:
portshow 13
portDisableReason: None
portCFlags: 0x1
portFlags: 0x24b03 PRESENT ACTIVE F_PORT G_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPT FLOGI
LocalSwcFlags: 0x0
portType: 26.0
POD Port: Port is licensed
portState: 1 Online
Protocol: FC
portPhys: 6 In_Sync portScn: 32 F_Port
port generation number: 93268
state transition count: 92939
portId: 0a0d00
portIfId: 43020034
portWwn: 20:0d:88:94:71:b1:69:c0
portWwn of device(s) connected:
21:00:00:24:ff:1d:8c:e2
16b Area list:
Distance: normal
portSpeed: N16Gbps
FEC: Inactive
Credit Recovery: Inactive
Aoq: Inactive
FAA: Inactive
F_Trunk: Inactive
LE domain: 0
Peer beacon: Off
FC Fastwrite: OFF
Interrupts: 9909 Link_failure: 3 Frjt: 0
Unknown: 0 Loss_of_sync: 0 Fbsy: 0
Lli: 9909 Loss_of_sig: 0
Proc_rqrd: 211621 Protocol_err: 0
Timed_out: 0 Invalid_word: 0
Tx_unavail: 0 Invalid_crc: 0
Delim_err: 0 Address_err: 0
Lr_in: 4914 Ols_in: 4877
Lr_out: 4877 Ols_out: 4914