R0106-HP MSR Router Series Interface Configuration Guide(V7)
9
suspends sending packets to the peer. When congestion occurs, the interface cannot send flow
control frames to the peer.
To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command
at one end and the flow-control command at the other end. To enable both ends of a link to handle traffic
congestion, configure the flow-control command at both ends.
To enable generic flow control 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 generic flow control.
• Enable TxRx mode generic
flow control:
flow-control
• Enable Rx mode generic flow
control:
flow-control receive enable
By default, generic flow control is
disabled on an Ethernet interface.
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.