Setting the statistics polling interval
Step Command Remarks
1. Enter system view.
system-view N/A
2. Set the statistics polling
interval.
flow-interval interval
By default, the statistics polling interval
is 300 seconds.
Settings in system view take effect on
all Ethernet interfaces.
To display the interface statistics collected in the last polling interval, use the display interface command.
To clear interface statistics, use the reset counters interface command.
Configuring a Layer 2 Ethernet interface
Configuring storm suppression
You can use the storm suppression function to limit the size of a particular type of traffic (broadcast,
multicast, or unknown unicast traffic) 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.
Configuration guidelines
When you configure the suppression threshold in pps, the device might convert the configured value into
a multiple of a certain step supported by the chip. As a result, the actual suppression threshold might be
different from the configured one. For the suppression threshold that takes effect, see the prompt on the
device.
Configuration procedure
To set storm suppression thresholds on one or multiple Ethernet interfaces:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Ethernet interface or
subinterface view.
interface interface-type
{ interface-number |
interface-number.subnumber }
N/A
3. Enable broadcast suppression
and set the broadcast
suppression threshold.
broadcast-suppression { ratio |
pps max-pps }
By default, broadcast traffic is
allowed to pass through an
interface.
4. Enable multicast suppression
and set the multicast
suppression threshold.
multicast-suppression { ratio | pps
max-pps }
By default, multicast traffic is
allowed to pass through an
interface.
5. Enable unknown unicast
suppression and set the
unknown unicast suppression
threshold.
unicast-suppression { ratio | pps
max-pps }
By default, unknown unicast traffic
is allowed to pass through an
interface.
10