R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

28
Use priority-flow-control to enable PFC on an Ethernet interface through automatic negotiation or
forcibly.
Use undo priority-flow-control to disable PFC on the interface.
Syntax
priority-flow-control { auto | enable }
undo priority-flow-control
Default
PFC is disabled on Ethernet interfaces.
Views
System view, Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
auto: Specifies the Ethernet interface to automatically negotiate with its peer to enable PFC.
enable: Forcibly enables PFC.
Usage guidelines
To make PFC take effect, you must configure PFC in both system view and Ethernet interface view. When
the switch operates in IRF mode, you must enable PFC on the IRF physical port. For more information
about IRF, see IRF Configuration Guide.
To use the PFC feature on a link, make sure it is enabled on both ends of the link. An interface processes
PFC pause frames only when PFC is enabled on it.
The state of the PFC function is co-determined by the PFC configurations on the local port and on the peer.
In Table 8, the f
irst line lists the PFC configuration on the local port, the first column lists the PFC
configuration on the peer, and enabled and disabled are the two possible negotiation results.
Table 8 PFC configurations and negotiation results
Local (right)
Peer (below)
enable auto Default
enable Enabled Enabled. Disabled
auto Enabled
Enabled if negotiation succeeds.
Disabled if negotiation fails.
Disabled
Default Disabled Disabled. Disabled
Examples
# Configure Ten-GigabitEthernet 1/0/1 to automatically negotiate with its peer to enable PFC.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] priority-flow-control auto