display cpu-overload-control configuration [ packet-type packet-type | task task-name ] slot slot-id
Parameter |
Description |
Value |
---|---|---|
packet-type packet-type |
Specifies a protocol type. |
The value is of the enumerated type:
NOTE:
S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI do not support arp-miss parameter. If this parameter is not specified, the OLC configuration in the specified slot is displayed. |
task task-name |
Specifies a task name. |
The value is of the enumerated type:
If this parameter is not specified, the OLC configuration in the specified slot is displayed. |
slot slot-id |
Specifies a slot ID. |
The value must be set according to the device configuration. |
You can use this command to view the OLC configuration of a specified protocol, task, or slot, including the weight of the leaky bucket, OLC function status, CPU usage thresholds, and adjustment factor of the leak rate.
# Display the OLC configuration of the DHCP protocol in slot 0.
<HUAWEI> display cpu-overload-control configuration packet-type dhcp slot 0 ---------------------------------- Protocol Weight Enable ---------------------------------- dhcp 290 Y ----------------------------------
Item |
Description |
---|---|
Protocol |
Protocol type. |
Weight |
Weight of the leaky bucket for the protocol. For details, see cpu-overload-control bucket-weight. |
Enable |
Whether the OLC function is enabled for the protocol:
For details, see cpu-overload-control packet-type disable. |
# Display the OLC configuration of the ACL task in slot 0.
<HUAWEI> display cpu-overload-control configuration task ACL slot 0 ---------------------------------- Task Weight Enable ---------------------------------- ACL 2500 N ----------------------------------
Item |
Description |
---|---|
Task |
Task name. |
Weight |
Weight of the leaky bucket for the task. For details, see cpu-overload-control bucket-weight. |
Enable |
Whether the OLC function is enabled for the task:
For details, see cpu-overload-control task enable. |
# Display the OLC configuration in slot 0.
<HUAWEI> display cpu-overload-control configuration slot 0 CPU OLC Status: enable. Alarm Status : enable. Low Threshold: 95%. High Threshold: 98%. Adjustfactor : 10. Total Weight : 10000. ---------------------------------- Task Weight Enable ---------------------------------- ARPA 2500 N ACL 2500 N ---------------------------------- ---------------------------------- Protocol Weight Enable ---------------------------------- 8021x 290 Y 8021x-1st 90 Y 8021x-other 200 Y arp-request 290 Y arp-reply 290 Y icmp 290 Y dhcp 290 Y arp-miss 290 Y igmp 290 Y ttl-expired 290 Y ip-frag 290 Y fib-hit 290 Y icmpv6 290 Y dhcpv6 290 Y nd 290 Y mld 290 Y cos-4 250 Y cos-3 240 Y cos-2 200 Y cos-1 150 Y cos-0 100 Y ----------------------------------
Item |
Description |
---|---|
CPU OLC Status |
Whether the OLC function is enabled:
For details, see cpu-overload-control disable. |
Alarm Status |
Whether the OLC alarm function is enabled:
For details, see cpu-overload-control alarm disable. |
Low Threshold |
Level-1 CPU usage threshold. For details, see cpu-overload-control. |
High Threshold |
Level-2 CPU usage threshold. For details, see cpu-overload-control. |
Ajustfactor |
Adjustment factor of the leak rate. For details, see cpu-overload-control. |
Total Weight |
Total weights of all protocol or task leaky buckets. |
Task |
Task name. |
Protocol |
Protocol type. |
Weight |
Weight of the leaky bucket for the protocol or task. For details, see cpu-overload-control bucket-weight. |
Enable |
Whether the OLC function is enabled for the protocol or task. For details, see cpu-overload-control packet-type disable and cpu-overload-control task enable. |