Cisco スイッチでインターフェースにおけるエラーを確認する方法は次の通り。
○全てのインターフェースをいっぺんに確認する場合
catalyst2960 における実行例
test-sw1#show interfaces counters errors Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize OutDiscards Fa0/1 0 0 0 0 0 0 Fa0/2 0 0 0 0 0 0 Fa0/3 0 0 0 0 0 0 Fa0/4 0 0 0 0 0 0 Fa0/5 0 0 0 0 0 0 Fa0/6 0 0 0 0 0 0 Fa0/7 0 0 0 0 0 0 Fa0/8 0 0 0 0 0 0 Fa0/9 0 0 0 0 0 0 Fa0/10 0 0 0 0 0 0 Fa0/11 0 0 0 0 0 0 Fa0/12 0 0 0 0 0 0 Fa0/13 0 0 0 0 0 0 Fa0/14 0 0 0 0 0 0 Fa0/15 0 0 0 0 0 0 Fa0/16 0 0 0 0 0 0 Fa0/17 0 0 0 0 0 0 Fa0/18 0 0 0 0 0 0 Fa0/19 0 0 0 0 0 0 Fa0/20 0 0 0 0 0 0 Fa0/21 0 0 0 0 0 0 Fa0/22 0 0 0 0 0 0 Fa0/23 0 0 0 0 0 0 Fa0/24 0 0 0 0 0 0 Gi0/1 0 0 0 0 0 0 Gi0/2 0 0 0 0 0 0 Po1 0 0 0 0 0 0 Port Single-Col Multi-Col Late-Col Excess-Col Carri-Sen Runts Giants Fa0/1 0 0 0 0 0 0 0 Fa0/2 0 0 0 0 0 0 0 Fa0/3 0 0 0 0 0 0 0 Fa0/4 0 0 0 0 0 0 0 Fa0/5 0 0 0 0 0 0 0 Fa0/6 0 0 0 0 0 0 0 Fa0/7 0 0 0 0 0 0 0 Fa0/8 0 0 0 0 0 0 0 Fa0/9 0 0 0 0 0 0 0 Fa0/10 0 0 0 0 0 0 0 Fa0/11 0 0 0 0 0 0 0 Fa0/12 0 0 0 0 0 0 0 Fa0/13 0 0 0 0 0 0 0 Fa0/14 0 0 0 0 0 0 0 Fa0/15 0 0 0 0 0 0 0 Fa0/16 13039 6597 1985 0 0 0 0 Fa0/17 0 0 0 0 0 0 0 Fa0/18 0 0 0 0 0 0 0 Fa0/19 0 0 0 0 0 0 0 Fa0/20 0 0 0 0 0 0 0 Fa0/21 0 0 0 0 0 0 0 Fa0/22 0 0 0 0 0 0 0 Fa0/23 0 0 0 0 0 0 0 Fa0/24 0 0 0 0 0 0 0 Gi0/1 0 0 0 0 0 0 0 Gi0/2 0 0 0 0 0 0 0 Po1 0 0 0 0 0 0 0 test-sw1#
これは FastEthernet 0/16 でコリジョンが発生していた際の実行結果です。
コリジョンの原因は、
catalyst2960 の FastEthernet 0/16 に接続した機器のインターフェースの設定が
100M/full に固定されているのに、
catalyst2960 の FastEthernet 0/16 が auto/auto になっていたためです。
○インターフェースを個別に確認する場合
catalyst2960 における実行例
test-sw1#show interfaces fa0/16 FastEthernet0/16 is up, line protocol is up (connected) Hardware is Fast Ethernet, address is 001d.a141.b163 (bia 001d.a141.b163) Description: ### test server #1 ### MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Half-duplex, 100Mb/s, media type is 10/100BaseTX input flow-control is off, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:00:00, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 3715102 packets input, 2828542597 bytes, 0 no buffer Received 377467 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 377464 multicast, 0 pause input 0 input packets with dribble condition detected 4149500 packets output, 816456485 bytes, 0 underruns 0 output errors, 19638 collisions, 2 interface resets 0 babbles, 1985 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out test-sw1#
これは、上で「show interfaces counters errors」を実行した状況と
同じ状況で実行した結果で、
インターフェースのデュプレックスが 100M/half になっていて
コリジョンが発生していることが分かる。
ちなみに、このコリジョンは両方を auto/auto にするか、
両方を 100M/full に設定すれば解消します。