Configuring Traffic Suppression on a Specified Interface in a VLAN

This section describes how to configure traffic suppression on a specified interface in a VLAN to reduce the load that a large volume of traffic poses on the network.

Context

Traffic suppression can be configured only on interfaces that work in Layer 2 mode.

If you configure traffic suppression on an interface for several times, the last configuration overrides the previous ones. Before you reconfigure traffic suppression on an interface that is added to a VLAN, delete the first configuration.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run portswitch

    The working mode of the interface is switched to Layer 2.

  4. Run vlan batch { vlan-id1 [ to vlan-id2 ] } &<1-10>

    A VLAN is configured.

  5. Run port interface-type { interface-number1 [ to interface-number2 ] } &<1-10>

    The interface is added to the VLAN.

  6. Run suppression { inbound | outbound } enable

    Traffic suppression is enabled in the VLAN.

  7. Run unknown-multicast discard

    Interfaces in the VLAN are disabled from forwarding unknown multicast packets.

  8. Run unknown-unicast discard

    Interfaces in the VLAN are disabled from forwarding unknown unicast packets.

  9. Run quit

    Return to the system view.

  10. Run interface interface-type interface-number

    The interface view is displayed.

  11. Run broadcast-suppression cir cir-value [ cbs cbs-value ] { inbound | outbound } {vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> }

    Broadcast traffic suppression is configured on the interface in a VLAN.

  12. Run multicast-suppression cir cir-value [ cbs cbs-value ] { inbound | outbound } {vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> }

    Multicast traffic suppression is configured on the interface in a VLAN.

  13. Run unknown-unicast-suppression cir cir-value [ cbs cbs-value ] { inbound | outbound } {vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> }

    Unknown unicast traffic suppression is configured on the interface in a VLAN.

  14. Run commit

    The configuration is committed.

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