Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Priority-Based Flow Control for an EX Series Switch (CLI Procedure)

You can configure priority-based flow control (PFC) to apply link-level flow control on a specific traffic class so that different types of traffic can efficiently use the same network interface card (NIC). You must configure PFC for all interfaces carrying Fibre Channel over Ethernet (FCoE) traffic. You can also configure PFC on interfaces carrying other traffic types, such as Internet small computer system interface (iSCSI) traffic. Using PFC is optional for traffic types other than FCoE.

Note:
  • PFC is supported only on 10-Gigabit Ethernet interfaces.

  • If you are using PFC for a non-FCoE DCBX application, use the same 802.1p code points for the PFC congestion notification profile and for the application map that is carrying that application traffic.

Data Center Bridging Capability Exchange protocol (DCBX) is enabled by default on all 10-Gigabit Ethernet interfaces. DCBX enables or disables PFC on the local interface depending on whether the PFC configuration on that interface is the same as the PFC configuration of the connected interface on the data center bridging (DCB) peer.

Note:

When you configure PFC, we recommend that you:

  • Configure at least 20 percent of the buffer for the queue that is using PFC.

  • Configure an appropriate percent of the buffer for any other forwarding classes (default forwarding classes and the user-defined forwarding classes) that you are using.

  • Do not specify the exact option when configuring the buffer for the queue that is using PFC.

  • Configure the loss-priority statement to low for a traffic class that is using PFC.

  • Verify that the PFC configurations of the local interfaces are the same as the PFC configurations of the connected interfaces on the DCB peer. See show dcbx neighbors.

EX Series switches support up to six congestion notification profiles for PFC.

To configure PFC:

  1. Configure a congestion notification profile, specifying the name of the profile and specifying the three-bit pattern of the User Priority bits in an incoming frame that will trigger the priority-based flow control on that traffic class:
  2. Disable standard Ethernet flow control on the interfaces that will be used for the traffic class that you have selected for PFC:
    Note:

    You cannot apply PFC to interfaces that are using standard Ethernet flow control. You must first disable flow control on those interfaces.

  3. Bind the congestion notification profile to the interfaces that will be used for the traffic class that you have selected for PFC:
  4. Create a CoS classifier for a traffic class that will use PFC:
  5. Configure this traffic class (classifier-name) to use a user-defined or default forwarding class with a low loss priority value and specify the 802.1p code points::
  6. Bind the classifier-name classifier to all interfaces that require PFC:
  7. Assign the specified forwarding-class to an egress queue:
  8. Set a scheduler for this queue, allocating at least 20 percent of the buffer to be used for FCoE traffic:
  9. Set a scheduler to allocate buffer space for forwarding classes carrying other traffic:
    Note:

    You must explicitly allocate some buffer space for the other forwarding classes. The default allocation of buffer space for forwarding classes is overridden when you manually configure the requisite amount of buffer space for the FCoE traffic.

  10. Configure a scheduler map that associates the specified scheduler with the specified forwarding class:

    For example:

  11. Assign the scheduler map to the egress interface: