< Home

display cpu-overload-control configuration

Function

The display cpu-overload-control configuration command displays the OLC configuration.

Format

display cpu-overload-control configuration [ packet-type packet-type | task task-name ] slot slot-id

Parameters

Parameter

Description

Value

packet-type packet-type

Specifies a protocol type.

The value is of the enumerated type:
  • 8021x-1st: first fragment of an 802.1X packet
  • 8021x-other: non-first fragments of an 802.1X packet
  • arp-request: ARP Request packet
  • arp-reply: ARP Reply packet
  • icmp: ICMP packet
  • dhcp: DHCP packet
  • arp-miss: ARP Miss packet
  • igmp: IGMP packet
  • ttl-expired: IPv4 TTL-expired packet
  • ip-frag: IP fragment
  • fib-hit: packet matching a route
  • icmpv6: ICMPv6 packet
  • dhcpv6: DHCPv6 packet
  • mld: MLD packet
  • nd: IPv6 neighbor discovery packet
  • cos-4: packet with priority 4 or higher (excluding whitelisted protocol packets)
  • cos-3: packet with priority 3 (excluding whitelisted protocol packets)
  • cos-2: packet with priority 2 (excluding whitelisted protocol packets)
  • cos-1: packet with priority 1 (excluding whitelisted protocol packets)
  • cos-0: packet with priority 0 (excluding whitelisted protocol packets)
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:
  • ACL: ACL task
  • ARPA: ARP broadcast task

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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                                                   
----------------------------------                                              
Table 1 Description of the display cpu-overload-control configuration packet-type command output

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:
  • Y: enabled
  • N: disabled

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                                                   
---------------------------------- 
Table 2 Description of the display cpu-overload-control configuration task command output

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:
  • Y: enabled
  • N: disabled

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                                                   
----------------------------------                                              
Table 3 Description of the display cpu-overload-control configuration command output

Item

Description

CPU OLC Status

Whether the OLC function is enabled:
  • enable
  • disable

For details, see cpu-overload-control disable.

Alarm Status

Whether the OLC alarm function is enabled:
  • enable
  • disable

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.

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