Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring CoS Priority-Based Flow Control

    A congestion notification profile enables priority-based flow control (PFC) for ingress traffic with a specified IEEE 802.1p code point (priority). Mapping a congestion notification profile to an interface enables PFC on all incoming traffic with the specified code point. Configure PFC for a priority end-to-end along the entire data path to create a lossless lane of traffic on the network.

    Note: You must configure PFC for FCoE traffic. Every interface that carries FCoE traffic should be configured for PFC on the FCoE code point. By convention, FCoE traffic uses priority 3 (code point 011), which maps to queue 3. Always use priority 3 for FCoE traffic. Use the default mapping of the fcoe forwarding class to queue 3.

    You can attach only one congestion notification profile to an interface. There is no limit to the total number of congestion notification profiles you can create.

    Configuring a congestion notification profile consists of:

    • Naming the congestion notification profile.
    • Specifying the IEEE 802.1 code point on which you want to enable PFC.
    • Mapping the congestion notification profile to an interface.
    1. Configure the congestion notification profile:
      [edit class-of-service]
      user@switch# set congestion-notification-profile cnp-name input ieee-802.1 code-point bits pfc

      For example, to configure a congestion notification profile named fcoe-cnp that enables PFC on IEEE 802.1 code point 011:

      [edit class-of-service]
      user@switch# set congestion-notification-profile fcoe-cnp input ieee-802.1 011 pfc
    2. Map the congestion notification profile to an interface:
      [edit class-of-service]
      user@switch# set interfaces interface congestion-notification-profile cnp-name

      For example, to map the congestion notification profile fcoe-cnp to the interface xe-0/0/7:

      [edit class-of-service]
      user@switch# set interfaces xe-0/0/7 congestion-notification-profile fcoe-cnp

    Published: 2012-07-31