< Home

cpu-overload-control packet-type disable

Function

The cpu-overload-control packet-type disable command disables the OLC function for a monitored protocol.

The undo cpu-overload-control packet-type disable command enables the OLC function for a monitored protocol.

By default, the OLC function is enabled for all monitored protocols.

Format

cpu-overload-control packet-type packet-type &<1-20> disable slot slot-id

undo cpu-overload-control packet-type packet-type &<1-20> disable slot slot-id

Parameters

Parameter

Description

Value

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.

One or more of the preceding protocol types can be selected.

slot slot-id

Specifies a slot ID.

The value must be set according to the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the OLC function is enabled for all monitored protocols to prevent CPU overload caused by a large number of CPU-bound packets of a certain protocol or attacks from unauthorized services. When the service traffic of a monitored protocol on the live network is light, you can disable the OLC function for the protocol.

Precautions

The OLC function configured for a protocol takes effect only after the OLC function is enabled.

Example

# Enable the OLC function for the DHCP protocol in slot 0.

<HUAWEI> system-view
[HUAWEI] undo cpu-overload-control packet-type dhcp disable slot 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >