multicast-suppression(Traffic behavior view)

Function

The multicast-suppression command restricts the rate at which multicast packets are transmitted.

The undo multicast-suppression command cancels the configuration.

By default, multicast suppression is not configured in the traffic behavior view.

Format

multicast-suppression { cir cir-value } [ cbs cbs-value ] [ green { discard | pass [ service-class class color { green | yellow | red } ] } | red { discard | pass [ service-class class color { green | yellow | red } ] } ] *

undo multicast-suppression [ { cir cir-value } [ cbs cbs-value ] [ green { discard | pass [ service-class class color { green | yellow | red } ] } | red { discard | pass [ service-class class color { green | yellow | red } ] } ] * ]

Parameters

Parameter Description Value
cir cir-value

Specifies the Committed Information Rate (CIR).

The value is an integer ranging from 0 to 4294967295, in kbit/s.

cbs cbs-value

Specifies the Committed Burst Size (CBS).

The value is an integer ranging from 0 to 4294967295, in bytes.

The CBS value must be larger than the CIR value.

The default CBS value is calculated in the format of cbs-value = cir-value*187.

  • If cir-value < 100000 kbit/s, the CBS value is calculated in the format of cbs-value = cir-value*187, in bytes.
  • If cir-value >= 100000 kbit/s, the CBS value is calculated in the format of cbs-value = 100000*187, in bytes.
green

Specifies the packets are to be re-marked as green packets.

-

green

Indicates the action to be taken on the packets when the traffic reaches the CIR. The default action is pass.

-

discard

Indicates that packets of a color are discarded.

-

pass

Indicates that packets of a color can pass.

-

service-class class

Specifies the CoS that the packets are to be re-marked.

The value can be CS7, CS6, EF, AF4, AF3, AF2, AF1, and BE.

color

Mark packet color.

-

yellow

Specifies the packets are to be re-marked as yellow packets.

-

red

Specifies the packets are to be re-marked as red packets.

-

red

Specifies the action to be taken on data packets when the traffic rate of the data packets exceeds the PIR. The default action is discard.

-

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
config write

Usage Guidelines

Usage Scenario

A growing number of multicast packets occupy a large amount of network resources. In this situation, services may not be provisioned properly.

You can run the multicast-suppression command to set thresholds for multicast traffic that is allowed to pass through an interface. If the multicast traffic volume exceeds the value set using the multicast-suppression command, the system drops the excessive multicast traffic.

Precautions

The multicast suppression does not take effected in VLL scenario.

The command is valid only for multicast traffics.

If the multicast-suppression command is run for multiple times, the latest configuration overrides the previous ones.

To achieve an exact packet suppression, you should specify a value for the CBS that is 10 times the length of the packet.

If member interfaces of a trunk interface reside on different NP or TM, the effective CIR or PIR for CAR or user-queue can be a multiple of the configured one.

Example

# Set the CIR of broadcast traffic to 1 Mbit/s. Allow the green packets to pass and map them to AF1 and green and drop the red packets.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] multicast-suppression cir 1000 green pass service-class af1 color green red discard
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >