SPD – Selective Packet Discard
Last updated
Last updated
SPD is a feature that allows prioritisation of the Input Queue. Normally, the Input Queue only allows FIFO scheduling. With SPD enabled, 2 additional queues are created, the SPD Headroom and the SPD Extended Headroom
Layer 2 keepalives and IGP packets are allowed to be enqueued in any of the 3 queues in the following order: Extended Headroom, Headroom, Input Queue. Other packets with IP Precedence 6, like BGP are allowed to be enqueed, in this order, only in the Headroom and the Input Queue. All other packets are only allowed in the Input Queue. When they are serviced, the Extended Headroom takes Priority over the Headroom and over the Input Queue
To enable SPD, use:
SPD can run in normal mode or in aggressive mode. In Aggressive mode, the packets considered malformed (packets that will generate ICMP messages) are dropped before they reach the processor. To enable aggressive mode, use:
The size of both headroom queues can be configure, using:
A form of RED runs in the both the Headroom Queues. To configure the thresholds for RED, use:
To verify SPD, use: