The display cpu-defend host-car statistics command displays the number of packets discarded in user-level rate limiting.
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.
Parameter | Description | Value |
---|---|---|
mac-address mac-address |
Indicates the number of discarded packets from the specified MAC address. |
- |
slot slot-id |
Indicates the number of packets discarded by the specified slot. |
- |
Usage Scenario
To view the number of packets discarded in the user-level rate limiting, run this command.
Precautions
# Display the number of packets discarded in the user-level rate limiting.
<HUAWEI> display cpu-defend host-car statistics
slot 0
car-id car-drop
--------------------------------------------
3192 740385
3347 7
4133 529474
4471 529477
5075 529476
5836 529474
6046 1001218
Item |
Description |
---|---|
slot |
Slot ID. |
car-id |
Bucket ID for rate limiting. |
car-drop |
Number of dropped packets whose rate exceeds the CAR. To configure the CAR value, run the cpu-defend host-car [ mac-address mac-address | car-id car-id ] pps pps-value command. |