< Home

Configuring Traffic Suppression in a VLAN

Context

Excess broadcast packets will cause broadcast storms. You can configure traffic suppression for a specified type of packet in a VLAN to limit the rate of these packets.

After traffic suppression is configured in a VLAN, the number of packets that can be transmitted per second in the VLAN depends on the method to calculate the packet length. By default, the device calculates the 20-byte inter-frame gap and preamble. That is, the device calculates the actual packet length plus 20-byte inter-frame gap and preamble.

On the S2720-EI, S5720-LI, S5720S-LI, S5720-SI, S5720S-SI, S5720I-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI, if inbound traffic policing on an interface, broadcast traffic suppression in a VLAN, and inbound flow-based traffic policing are configured simultaneously and packets match two or three of the rate limiting rules, the system applies the rules in the following order: inbound traffic policing on interface, broadcast traffic suppression in the VLAN, and inbound flow-based traffic policing (descending order of priority). For example, if packets match both the inbound traffic policing rule on an interface and broadcast traffic suppression rule in a VLAN, the inbound traffic policing rule on the interface takes effect. For details on how to configure the inbound traffic policing on an interface and inbound flow-based traffic policing, see Configuring Inbound Interface-based Rate Limiting and Configuring MQC to Implement Traffic Policing in "Traffic Policing, Traffic Shaping, and Interface-based Rate Limiting" in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - QoS.

Pre-configuration Tasks

Before configuring traffic suppression in a VLAN, configure 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 broadcast-suppression threshold-value

    The broadcast suppression rate is configured in the VLAN.

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