Calculate output drop rate percentage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2021 09:37 AM
What is the formula for calculating output drop rate percentage giving the Total output drops as reporting by the show interface command? What I have been using is % = 100(Drops)/total. So using the below example output from the command "sh int te 1/0/5" 47226958/344452432800 = 0.01%. The thing is I'm not sure I am using the correct formula.
TenGigabitEthernet1/0/5 is up, line protocol is up (connected)
Hardware is Ten Gigabit Ethernet, address is 007e.9530.7b85 (bia 007e.9530.7b85)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 2/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseSX SFP
input flow-control is on, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:03, output 00:00:00, output hang never
Last clearing of "show interface" counters 4d01h
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 47226958
Queueing strategy: Class-based queueing
Output queue: 0/40 (size/max)
5 minute input rate 7206000 bits/sec, 1078 packets/sec
5 minute output rate 8703000 bits/sec, 1248 packets/sec
324140787 packets input, 344452432800 bytes, 0 no buffer
Received 1145893 broadcasts (780746 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 780746 multicast, 0 pause input
0 input packets with dribble condition detected
180817591 packets output, 125900237661 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
11717 unknown protocol drops
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
- Labels:
-
LAN Switching
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2021 01:20 PM
180817591 packets output, 125900237661 bytes, 0 underruns
The above number is the output drop bytes.
Total output drops: 47226958
so, 47226958 * 125900237661=5.94xxxx
5.94% drops.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2021 02:36 PM
drops (which is packets) / (drops + packets output) * 100
47226958 / (47226958 + 180817591) = .2071 = 20.71%
That's a very high average drop percentage. My guess, your egress is not configured to support typical gig needed buffer sizes.
