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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 13

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Traffic Suppression

Configuring Traffic Suppression

Configuring Traffic Suppression on an Interface

Context

To limit the rate of incoming and outgoing packets and prevent broadcast storms, configure traffic suppression on an interface.

Pre-configuration Tasks

Before configuring traffic suppression on an interface, complete the following task:
  • Configuring link layer protocol parameters for interfaces to ensure that the link layer protocol status on the interfaces is Up

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    { storm suppression broadcast | storm suppression multicast | storm suppression unknown-unicast } { percent-value | cir cir-value [ gbps | mbps | kbps ] [ cbs cbs-value [ bytes | mbytes | kbytes ] ] | packets packets-per-second }

    Traffic suppression is configured.

  4. Run:

    { storm suppression broadcast | storm suppression multicast | storm suppression unknown-unicast } block outbound

    The interface is configured to block outgoing packets.

  5. Run:

    commit

    The configuration is committed.

Configuring Traffic Suppression in a VLAN

Context

You can configure traffic suppression in a VLAN to limit the rate of incoming broadcast packets, multicast packets, and unknown unicast packets, and prevent broadcast storms.

Pre-configuration Tasks

Before configuring traffic suppression in a VLAN, complete the following task:
  • Configuring link layer protocol parameters for interfaces in the VLAN to ensure that the link layer protocol status on the interfaces is Up

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:

    { storm suppression broadcast | storm suppression multicast | storm suppression unknown-unicast } cir cir-value [ gbps | mbps | kbps ] [ cbs cbs-value [ bytes | mbytes | kbytes ] ]

    Traffic suppression is configured in the VLAN.

  4. Run:

    commit

    The configuration is committed.

Configuring Traffic Suppression for ICMP Packets

Context

Attackers may send a large number of ICMP packets to attack a network. If the device sends all the received ICMP packets to the CPU for processing, a lot of CPU usage resources are occupied and other services may be abnormal. To prevent ICMP packet attacks, you can configure the device to suppress ICMP packets.

After the traffic suppression function is configured for ICMP packets on an interface, the system automatically discards ICMP packets when the number of ICMP packets sent by an interface every second exceeds the rate threshold.

Pre-configuration Tasks

Before configuring traffic suppression for ICMP packets, complete the following task:
  • Configuring link layer protocol parameters for interfaces to ensure that the link layer protocol status on the interfaces is Up

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    undo icmp rate-limit disable

    Traffic suppression for ICMP packets is enabled.

    By default, the traffic suppression function for ICMP packets is enabled.

  3. Run:

    icmp rate-limit [ interface interface-type interface-number1 [ to interface-number2 ] ] threshold threshold-value

    The rate threshold for ICMP packets is configured.

    By default, the rate limits of ICMP packets is 1500 pps.

  4. Run:

    commit

    The configuration is committed.

Checking the Configuration

Procedure

  • Run the display this command to check the traffic suppression configuration in the interface view.
Translation
Download
Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 61115

Downloads: 3623

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