rate-limit all-packets
Function
The rate-limit all-packets command sets the rate limit for all packets sent to the CPU.
The undo rate-limit all-packets command restores the default rate limit for all packets sent to the CPU.
Usage Guidelines
Usage Scenario
After an attack defense policy is created, you can limit the rate of all packet sent to the CPU in the attack defense policy. The device randomly discards packets that exceed the rate limit to ensure CPU security.
Precautions
If you run the rate-limit all-packets command in the same attack defense policy view multiple times, only the latest configuration takes effect.
The priority of protocol packets sent to the CPU configured in an attack defense policy takes effect only when the attack defense policy is applied to the main control board.