03-Layer 2—LAN Switching Configuration Guide

HomeSupportSwitchesS5590-EI SeriesConfigure & DeployConfiguration GuidesH3C S5590-HI[S5590-EI][S5500V3-HI] Switch Series Configuration Guides-R8307Pxx-6W10003-Layer 2—LAN Switching Configuration Guide
02-PFC configuration
Title Size Download
02-PFC configuration 59.90 KB

Configuring PFC

About PFC

Priority-based flow control (PFC) provides a finer flow control mechanism to implement lossless packet transmission on Ethernet.

PFC performs flow control for packets based on the 802.1p priorities carried in packets. As shown in Figure 1, PFC establishes eight virtual channels over an Ethernet link, each corresponding to an 802.1p priority. Any virtual channel can be paused or restarted independent of the other channels. This mechanism allows multiple types of traffic to coexist on and share an Ethernet link.

Figure 1 How PFC works

 

When congestion occurs on the local end, the device determines how to process received packets based on the 802.1p priorities carried in packets as follows:

·     If PFC is enabled for the 802.1p priority carried in a packet, the local end accepts the packet and sends PFC pause frames to notify the remote end to stop sending packets carrying the 802.1p priority. The remote end stops sending packets carrying the 802.1p priority after receiving the PFC pause frames. This process is repeated until congestion is eliminated.

·     If PFC is not enabled for the 802.1p priority carried in a packet, the local end drops the packet.

Restrictions and guidelines

You can configure PFC in system view or Ethernet interface view. When you configure PFC in system view and Ethernet interface view multiple times, the most recent configuration takes effect.

If you do not enable PFC on an interface, the interface can receive but cannot process PFC pause frames. To make PFC take effect, you must enable PFC on both ends.

To avoid packet loss, apply the same PFC configuration to all interfaces that the packets pass through.

Generic flow control and PFC are mutually exclusive on an interface. For more information about generic flow control, see Ethernet interface configuration in Interface Configuration Guide.

In an IRF network, follow these restrictions and guidelines:

·     For IRF and other protocols to operate correctly, as a best practice, do not enable PFC for 802.1p priority 0, 6, or 7.

·     To perform PFC on an IRF port, configure PFC on the IRF port and the IRF physical ports that are bound to the IRF port.

For information about IRF, see IRF configuration Guide.

For PFC to take effect in an overlay network, execute the qos trust tunnel-dot1p command. For information about the overlay network, see VXLAN Configuration Guide. For information about the qos trust tunnel-dot1p command, see ACL and QoS Command Reference.

Configuring PFC on interfaces

Configuring PFC on an Ethernet interface

1.     Enter system view.

system-view

2.     Enable PFC on all Ethernet interfaces.

priority-flow-control { auto | enable }

By default, PFC is disabled on all Ethernet interfaces.

3.     Enable PFC for 802.1p priorities on all Ethernet interfaces.

priority-flow-control no-drop dot1p dot1p-list

By default, PFC is disabled for all 802.1p priorities on all Ethernet interfaces.

4.     Enter Ethernet interface view.

interface interface-type interface-number

5.     Enable PFC on the Ethernet interface.

priority-flow-control { auto | enable }

By default, PFC is disabled.

6.     Enable PFC for 802.1p priorities.

priority-flow-control no-drop dot1p dot1p-list

By default, PFC is disabled for all 802.1p priorities.

 

Verifying and maintaining PFC

Execute display commands in any view.

 

Task

Command

Display the PFC information of interfaces.

display priority-flow-control interface [ interface-type [ interface-number ] ]

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网