Provides instructions for enabling PFC on interfaces, including class-based pause behavior, policy requirements, interface configuration, and verification of PFC operation.
Use this task to enable Priority Flow Control (PFC) on supported line cards and interfaces, and to apply the classification and queuing policies that allow selected traffic classes to operate losslessly.
-
PFC must be enabled globally and per line card before it can be applied to traffic classes.
-
The operating mode (buffer-internal, buffer-extended, or buffer-extended hybrid) must be chosen at the line card profile level.
Before you begin
-
Install the supported line card.
-
Configure PFC on matching CoS values.
-
Ensure there are no breakout, bundle, or sub-interface configurations on PFC-enabled line cards.
Follow these steps to configure PFC on an interface.
Procedure
| 1. | Enable PFC globally. Example:
|
|
| 2. | Configure the line card profile for the required PFC mode. Example:
|
|
| 3. | Configure and attach classification and queuing policies. Example:
This example:
|
|
| 4. | Verify the hardware-level PFC profile configuration on a specific line card. Example:
A non-zero and increasing Tx Pause Frames count indicates that the router's NPU is actively experiencing congestion for this traffic class and is sending pause frames to its neighbors. This is a key indicator that PFC is working as intended. |
|
| 5. | View the PFC statistics for a specific interface. Example:
|
|
| 6. | To view the consolidated statistics for all interfaces on the router, see View global statistics for Priority Flow Control and Priority Flow Control watchdog. |