< Home

display cpu-defend host-car statistics

Function

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.

Format

display cpu-defend host-car [ mac-address mac-address ] statistics [ slot slot-id ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To view the number of packets discarded in the user-level rate limiting, run this command.

Precautions

  • Before using this command, run the cpu-defend host-car enable command to enable user-level rate limiting.
  • If the number of discarded packets is 0, the index is not displayed.

Example

# 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
Table 1 Description of the display cpu-defend host-car statistics command output

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >