«

Aug 25

Monitoring Cisco Switch Port Discards

If you are using a monitoring software such as Opsview or Orion, you will see sometime that you get a warnings on switch port discards. The first thing to do usually is to  check the actual switch port by using 'show int xx/xx status'. However this command would show rest of the details but nothing about discards. The commnads you can use are 'show platform port-asic stats drop fa0/1'  or 'sh int counters errors'. Outputs of these commands are as below

#show interface status fa0/1

FastEthernet0/1 is up, line protocol is up (connected)
xx-output removed-xx
  5 minute output rate 205000 bits/sec, 27 packets/sec
     76736436 packets input, 24040599285 bytes, 0 no buffer
     Received 558403 broadcasts (279161 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 279161 multicast, 0 pause input
     0 input packets with dribble condition detected

     232986783 packets output, 79103804354 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out

 

To check the discards on the interfecae you can use 'show platform port-asic stats drop fa0/1' 

  Interface Fa0/1 TxQueue Drop Statistics
    Queue 0
      Weight 0 Frames 0
      Weight 1 Frames 0
      Weight 2 Frames 0
    Queue 1
      Weight 0 Frames 0
      Weight 1 Frames 0
      Weight 2 Frames 0
    Queue 2
      Weight 0 Frames 0
      Weight 1 Frames 0
      Weight 2 Frames 0
    Queue 3
      Weight 0 Frames 0
      Weight 1 Frames 0
      Weight 2 Frames 70310

 

OR you can use 'sh int counters errors'

Port        Align-Err     FCS-Err    Xmit-Err     Rcv-Err  UnderSize  OutDiscards
Fa0/1               0           0           0                      0          0        70310
Fa0/2               0           0           0                      0          0        35519
Fa0/3               0           0           0                      0          0            0
Fa0/4               0           0           0                      0          0          443
Fa0/5               0           0           0                      0          0         9847

Ref: https://thwack.solarwinds.com/thread/23040

 

 

Leave a Reply

%d bloggers like this: