08-02-2018 07:12 AM - edited 03-05-2019 10:49 AM
Hello,
From a while now we're having an issue with one of our Lan interfaces on a cisco 3845 router.
The number of flushes on the interface keeps increasing and i'm not sure why.
After searching on the internet I've come across the SPD (Selective Packet Discard) functionality and after reading about it I got it why this is used but was unsure about how it behaves on some scenarios, and I think this might have something to do with my flushes problem.
You can see below some informations on the interface.
My question is: Even though I've increased the hold-queue in value to 2500, if the SPD min/max thresholds are still 73/74 (because the lowest queue value on another interface on the router is 75) are the packets being dropped when the queue hits 74 instead of waiting until the full 2500 queue length is hit? If not, how can I debug why all those flushes are happening? (I really tried everything I could think of to figure out why, but no luck so far)
One thing worth mentioning is that a lot of multicast traffic goes through this router, so we do have a lot of bursts of traffic from time to time going through (i really think the flushes are because of that but couldn't figure out a way to go around this issue yet). Another one is the WAN interface has the default 75 value for its queue and a rate-limit configuration time based.
Thanks in advance for your time and help!!
08-02-2018 07:15 AM
Hello,
can you post the output of 'show interfaces x' where X is the LAN interface in question ?
08-02-2018 07:22 AM
08-02-2018 07:47 AM
Hello,
thanks for the output.
The min/max values SPD uses are based on the LOWEST input queue of any interface, so even if you set the input queue on your 'problem' interface to something higher, SPD still uses the lowest value configured for any interface. So, your best option is to set the hold-queue on all your interfaces to e.g. 512, and then change the SPD value in interface configuration mode (this is a hidden command, so you have to type it in in full)
ip spd queue threshold minimum 256 maximum 512
Can you give that a try ?
08-02-2018 07:52 AM
08-02-2018 07:59 AM
Tunnel interfaces...very suspicious, since they usually have a very low values. You might be getting off with only changing the value on the tunnel interfaces.
Either way, do it after hours. Another alternative would be to turn SPD off altogether (no spd enable in global config mode)...
08-02-2018 08:03 AM
Hello,
if you have some spare time, have a look at the document below, which explains very well what SPD does...
https://www.cisco.com/c/en/us/about/security-center/selective-packet-discard.html
08-03-2018 05:59 AM
08-03-2018 07:01 AM
Hello,
check the output of:
Router#show int | include line protocol|Input queue
This will list all interfaces and the input queue sizes. Are they all 0/75/0/0 ?
08-03-2018 07:06 AM
08-03-2018 07:19 AM
Hello,
the problem is not so much that the router doesn't have enough resources, but the below:
"Caution: An increase in the hold queue can have detrimental effects on network routing and response times. For protocols that use SEQ/ACK packets to determine round-trip times, do not increase the output queue. Dropping packets instead informs hosts to slow down transmissions to match available bandwidth. This is generally better than duplicate copies of the same packet within the network, which can happen with large hold queues."
Setting the value to 256 or 512 shouldn't be a problem. I would start with 256 (and also configure 'ip spd queue threshold minimum 128 maximum 256'), and check if the flushes decrease.
If not, turn off spd altogether...
Of course, to be on the safe side, after hours...
08-22-2018 08:46 AM
08-22-2018 12:55 PM
Hello,
not sure what we have already tried...did you turn off spd altogether (no spd enable in global config mode) ?
08-24-2018 06:34 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide