SAN Switch에서 porterrshow를 통해서 포트의 상태를 확인할 수 있습니다.
portstatsclear 를 통해 porterr count 를 클리어 하는 방법을 정리해보겠습니다.
# porterrshow
포트별 쌓여있는 crc err 나 link fail 상태를 확인할 수 있습니다.
필드에 대한 설명은 # help porterrshow 로 확인해볼수 있습니다.
frames tx Number of frames transmitted (Tx).
frames rx Number of frames received (Rx).
enc in Number of encoding errors inside frames received (Rx).
crc err Number of frames with CRC errors received (Rx).
crc g_eof Number of frames with CRC errors with good EOF received (Rx).
too shrt Number of frames shorter than minimum received (Rx).
too long Number of frames longer than maximum received (Rx).
bad eof Number of frames with bad end-of-frame delim-iters received (Rx).
enc out Number of encoding error outside of frames received (Rx).
disc c3 Class 3 frames discarded (Tx). This counter includes the sum of the following class 3 dis-
card counters reported by the portStatsShow com-mand: er_rx_c3_timeout, er_tx_c2_timeout,
er_c2_dest_unreach, and er_other_disc. Refer to portStatsShow help for a description of these
counters.
link fail Number of link failures (LF1 or LF2 states) received (Rx).
loss sync Number of times synchronization was lost (Rx).
loss sig Number of times a loss of signal was received (increments whenever an SFP is removed) (Rx).
frjt Number of transmitted frames rejected with F_RJT (Tx).
fbsy Number of transmitted frames busied with F_BSY (Tx).
이제 쌓여있는 port error 를 클리어 하는 방법입니다.
# portstatsclear -i 0-23
-i 옵션을 주어 포트 번호를 지정해 주면 해당 번호가 클리어 됩니다.
# porterrshow
처음과는 달리 클리어된 상태를 볼수 있습니다.
'SAN Switch' 카테고리의 다른 글
IBM SAN Switch port speed 확인 및 변경 portcfgshow, switchshow, portshow (0) | 2019.12.23 |
---|---|
SAN errdump,errshow clear 방법 > errclear (0) | 2017.10.20 |
IBM SAN Switch 사용가능한 Port 확인방법 (0) | 2017.02.11 |
IBM SAN Switch 2498-B24 Log 수집 (0) | 2016.11.17 |