No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Security

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, separating the management plane from the service plane, security risks.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Rule for Sending Packets to the CPU

Configuring a Rule for Sending Packets to the CPU

Context

To reduce the number of packets sent to the CPU and prevent interference between the packets of different types, the switch limits the rate of packets sent to the CPU in different mode, including the rate limiting for protocol packets and rate limiting for all packets on an interface. Rate limiting for protocol packets has a higher priority than rate limiting for all packets on an interface. When both the rate limiting methods are configured, the device uses the minimum value to limit the packet rate.

NOTE:

The default CAR value is recommended.

For BFD packets, this command does not take effect on the CE6875EI.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure a rule for sending packets to the CPU.

    Run cpu-defend policy policy-name

    The attack defense policy view is displayed.

    Configure a rate limit on protocol packets and a rate limit for all packets on an interface in the attack defense policy view.

    • Configure a rate limit for protocol packets.

      The action to be performed on protocol packets sent to the CPU can be car or deny. When you configure the action to be performed on packets of the same protocol, the latest configuration takes effect.

      • Run car packet-type packet-type pps pps-value

        The CAR value for packets sent to the CPU is set and the threshold is set.

      • Run deny packet-type packet-type

        The action taken for the packets sent to the CPU is set to deny.

      By default, the rate of packets sent to the CPU is limited using the rate limit in the default policy. You can run the display cpu-defend configuration command to check the CAR values of packets.

    • Set an interface-based rate limit.

      Run car all-packets pps packets

      The number of packets sent from CPU interfaces to the CPU within a certain period is limited.

      By default, a maximum of 5120 packets can be sent to the CPU of the device per second. However, the CE5810EI and CE5850HI send a maximum of 2000 packets to the CPU per second.

      NOTE:

      The car all-packets pps command is required only when the current CAR configuration cannot reduce CPU loads.

  3. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074765

Views: 18970

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next