33
[Sysname] storm-constrain interval 60
unicast-suppression
Syntax
unicast-suppression
{
ratio |
pps
max-pps
|
kbps
max-kbps
}
undo
unicast-suppression
View
Ethernet interface view, port group view
Default level
2: System level
Parameters
ratio
: Sets the unicast suppression threshold as a percentage of the port transmission capability, in the
range 1 to 100. The smaller the percentage, the less unknown unicast traffic is allowed to pass through.
pps
max-pps
: Sets the unicast suppression threshold in pps to limit the number of unknown unicast
packets passing through the Ethernet port per second, the value range is 1 to 1488100.
kbps
max-bps
: Sets the unicast suppression threshold in kbps to limit the number of kilobits of unknown
unicast traffic passing through the Ethernet port per second, the value range is 1 to 1024000
Description
Use the
unicast-suppression
command to set the unknown unicast suppression threshold on an Ethernet
interface view or a group of Ethernet interfaces in port group view.
Use the
undo unicast-suppression
command to restore the default.
By default, Ethernet interfaces do not suppress unknown unicast traffic.
If you execute this command in Ethernet interface view, the configurations take effect only on the current
interface. If you execute this command in port-group view, the configurations take effect on all ports in the
port group
When unknown unicast traffic exceeds the threshold you configure, the system discards unknown unicast
packets until the unknown unicast traffic drops below the threshold.
NOTE:
•
If you set different unknown unicast suppression thresholds in Ethernet interface view or port-group view
multiple times, the one configured last takes effect.
•
For a particular type of traffic, configure either storm suppression or storm control, but not both. If both
of them are configured, you may fail to achieve the expected storm control effect.
Examples
# Set the unknown unicast threshold to 20% on Ethernet interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] unicast-suppression 20
# Set the unknown unicast threshold to 20% on all ports of port group
group1
.
<Sysname> system-view
[Sysname] port-group manual group1