The broadcast-suppression command restricts the rate at which broadcast packets are transmitted.
The undo broadcast-suppression command cancels the configuration.
By default, broadcast suppression is not configured in the traffic behavior view.
broadcast-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 broadcast-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 |
Specify behavior conducted when rate no higher than CIR. |
- |
discard |
Discards packets of a specific color (green, yellow, or red). |
- |
pass |
Allows packets of a specific color (green, yellow, or red) to pass. |
- |
service-class class |
Specifies the CoS that the packets are to be re-marked. |
The value can be:
|
color green |
Indicates that packets are colored green. |
- |
color yellow |
Indicates that packets are colored yellow. |
- |
color red |
Indicates that packets are colored red. |
- |
red |
Specify behavior conducted when rate higher than CIR. |
- |
broadcast-suppression |
Broadcast suppression. |
- |
Usage Scenario
A growing number of broadcast packets occupy a large amount of network resources. In this situation, services may not be provisioned properly.
To prevent broadcast storms, you can run the broadcast-suppression command to set thresholds for broadcast traffic that is allowed to pass through an interface. If the broadcast traffic volume exceeds the value set using the broadcast-suppression command, the system drops the excessive broadcast traffic.Precautions
The command is valid only for broadcast traffics.
The broadcast suppression does not take effected in VLL scenario. If the broadcast-suppression command is run for multiple times, the latest configuration overrides the previous ones. To achieve accurate packet suppression, specify a value for the CBS that is over 10 times the length of the packet. If member interfaces of a trunk interface reside on different forwarding or traffic management modules, the effective CIR or PIR for CAR or user-queue can be a multiple of the configured one.