priority-flow-control

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

Ethernet interface view

Predefined user roles

network-admin

Parameters

auto: Specifies PFC in auto mode. In this mode, the Ethernet interface automatically negotiates the PFC status with its peer.

enable: Forcibly enables PFC.

Usage guidelines

If you enable PFC and configure the priority-flow-control no-drop dot1p dot1p-list command on both ends, the local port processes a received packet as follows when network congestion occurs:

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

Related commands

priority-flow-control no-drop dot1p