The display cpu-defend applied command displays the actual CAR values for the protocol packets delivered to the chip.
Parameter |
Description |
Value |
---|---|---|
packet-type packet-type |
Specifies a packet type. |
The supported packet type depends on the device. |
mcu |
Indicates the main control board. NOTE:
Only the stack-capable models support the mcu parameter. |
- |
slot slot-id |
|
The value must be set according to the device configuration. |
all | Indicates all switches in a stack if stacking is enabled, or the switch itself if stacking is disabled. |
- |
The actual CAR values may be different from the configured CAR values. The possible causes are as follows:
The CIR value specified in the car packet-type packet-type cir cir-value [ cbs cbs-value ] command is a consecutive range. However, the actual CIR value is discrete, depending on chip granularity. For example, if the CIR value range is set to 65 to 128 with the granularity 64 kbit/s, the actual CIR value may be 64 or 128, which depends on product models.
The configured CIR value exceeds the chip capacity and the upper threshold. For example, the CIR value is set to 10000, but the chip does not support CIR value 1000. Then the actual CIR value cannot reach 10000.
You can run the display cpu-defend applied command to view the actual CAR values for protocol packets.
When too much output information is to be displayed, specify the begin, exclude, or include parameter to display only the required information.
# Display the actual CAR values for ARP Request messages sent from the switch.
<HUAWEI> display cpu-defend applied packet-type arp-request slot 0 Applied Car on slot 0: ------------------------------------------------------------------------------- Packet Type Cir(Kbps) Cbs(Byte) Applied Cir(Kbps) Applied Cbs(Byte) ------------------------------------------------------------------------------- arp-request 65 10000 128 10000 -------------------------------------------------------------------------------
Item |
Description |
---|---|
Applied Car on slot 0 | CAR value for protocol packets sent by a specified stack. |
Packet Type |
Packet type. |
Cir(Kbps) |
Configured committed information rate (CIR), in kbit/s. To set the CIR value, run the car and linkup-car commands. |
Cbs(Byte) |
Configured committed burst size (CBS) value, in bytes. To set the CBS value, run the car and linkup-car commands. |
Applied Cir(Kbps) |
Actual CIR value on the chip, in kbit/s. |
Applied Cbs(Byte) |
Actual CBS value on the chip, in bytes. |