The cpu-defend host-car pps command sets the rate limit for the user-level rate limiting.
The undo cpu-defend host-car command restores the default rate limit for the user-level rate limiting.
By default, the rate limit for the user-level rate limiting is 10 pps.
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
cpu-defend host-car [ mac-address mac-address | car-id car-id ] pps pps-value
undo cpu-defend host-car { mac-address mac-address | car-id car-id }
Parameter | Description | Value |
---|---|---|
mac-address mac-address | Sets the rate limit for the specified MAC address. | - |
car-id car-id | Sets the rate limit for the specified bucket. | The value is an integer that ranges from 0 to 8191. |
pps pps-value | Indicates the rate limit. | The value is an integer that ranges from 1 to 128. |
Usage Scenario
User-level rate limiting identifies users by user MAC addresses and limits the rates of specified packets (ARP, ND, DHCP Request, DHCPv6 Request, IGMP, 802.1X, and HTTPS-SYN packets) for both wired and wireless users. By default, the user-level rate limit is 10 pps. You can set a rate limit based on user.
Precautions