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.
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 } ] } ] * ]
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.
|
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. |
- |
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.<HUAWEI> system-view [~HUAWEI] traffic behavior b1 [*HUAWEI-behavior-b1] unknown-unicast-suppression cir 1000 green pass service-class af1 color green red discard