unknown-unicast-suppression(Traffic behavior view)

Function

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

The undo unknown-unicast-suppression command cancels the configuration.

By default, the rate at which unknown unicast packets are transmitted is not restricted in the traffic behavior view.

Format

unknown-unicast-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 unknown-unicast-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

Specifies the action to be taken on the unknown unicast traffic whose rate conforms to CIR. The default action is pass.

-

discard

Specifies action to be taken on packets of a color (green and red) is discard.

-

pass

Specifies action to be taken on packets of a color (green and red) is 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 the unknown unicast traffic whose rate 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

If unknown unicast traffic mounts on networks, the traffic consumes a great amount of network bandwidth, which degrades network performance.

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

Precautions

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

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

The command is valid only for unknown unicast traffic.

The unknown unicast suppression does not take effected in VLL scenario.

Example

# Set the CIR of unknown unicast 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] unknown-unicast-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 >