10
•
If you configure the
flow control
or
flow-control receive enable
command on a PFC-enabled
interface, the following rules apply:
{
The PFC configuration takes effect.
{
The configuration of the
flow control
or
flow-control receive enable
command is ignored.
{
The
flow control
or
flow-control receive enable
command takes effect on the interface
only when PFC is disabled on it.
•
PFC and generic flow control are mutually exclusive.
Configuration procedure
To configure PFC 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 PFC in auto mode or
forcibly on the Ethernet
interface.
priority-flow-control
{
auto
|
enable
}
By default, PFC is disabled.
4.
Enable PFC for 802.1p
priorities.
priority-flow-control no-drop
dot1p dot1p-list
By default, PFC is disabled for all
802.1p priorities.
Setting the statistics polling interval
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A
3.
Set the statistics polling
interval for the Ethernet
interface.
flow-interval interval
By default, the statistics polling
interval is 300 seconds.
To display the interface statistics collected in the last statistics polling interval, use the
display
interface
command.
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.
Both storm suppression and storm control can suppress storms on an interface. Storm suppression
uses the chip to suppress traffic. Storm suppression has less impact on the device performance than
storm control, 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. For more information about storm control, see
"