Configuring storm suppression
The storm suppression feature ensures that the size of a particular type of traffic (broadcast, multicast, or unknown unicast traffic) does not exceed the threshold on an interface. When the broadcast, multicast, or unknown unicast traffic on the interface exceeds this threshold, the system discards packets until the traffic drops below this threshold.
Any of the storm-constrain, broadcast-suppression, multicast-suppression, and unicast-suppression commands can suppress storm on an interface. The broadcast-suppression, multicast-suppression, and unicast-suppression commands use the chip to suppress traffic. They have less impact on the device performance than the storm-constrain command, which uses software to suppress traffic.
Configuration restrictions and guidelines
When you configure storm suppression, follow these restrictions and guidelines:
For the traffic suppression result to be determined, do not configure storm control together with storm suppression for the same type of traffic on an interface. For more information about storm control, see "Configuring storm control on an Ethernet interface."
When you configure the suppression threshold in kbps, the actual suppression threshold might be different from the configured one as follows:
If the configured value is smaller than 64, the value of 64 takes effect.
If the configured value is greater than 64 but not an integer multiple of 64, the integer multiple of 64 that is greater than and closest to the configured value takes effect.
For the suppression threshold that takes effect, see the prompt on the device.
Configuration procedure
To set storm suppression thresholds on an Ethernet interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Ethernet interface view. | interface interface-type interface-number | N/A |
3. Enable broadcast suppression and set the broadcast suppression threshold. | broadcast-suppression { ratio | pps max-pps | kbps max-kbps } | By default, broadcast suppression is disabled. |
4. Enable multicast suppression and set the multicast suppression threshold. | multicast-suppression { ratio | pps max-pps | kbps max-kbps } [ unknown ] | By default, multicast suppression is disabled. |
5. Enable unknown unicast suppression and set the unknown unicast suppression threshold. | unicast-suppression { ratio | pps max-pps | kbps max-kbps } | By default, unknown unicast suppression is disabled. |