Configuring PFC
When a link is congested by traffic of a certain type, PFC stops transmission of such traffic without interrupting traffic of other types.
Pre-configuration Tasks
- Configuring a link layer protocol so that interfaces at both ends of a link are Up
- Completing Configuring DCBX before enabling PFC on the interface to set the PFC working mode to auto
If you configure both priority mapping and PFC, exercise caution when modifying the mappings between the priorities of PFC-enabled queues and priorities in the DiffServ domain. Otherwise, PFC may not work.
When the packet forwarding mode on the CX710 switch module 40GE converged switching plane is set to Cut Through, the CX710 switch module 40GE converged switching plane does not support PFC. To use PFC, run the assign forward mode store-and-forward command to change the packet forwarding mode to store-and-forward.
Procedure
- Run:
system-view
The system view is displayed.
- (Optional) Run:
dcb pfc
The PFC view is displayed.
- (Optional) Run:
priority { start-priority [ to end-priority ] } &<1-8>
PFC for queues with a specified priority is enabled.
By default, PFC is enabled for priority 3.
- (Optional) Run:
quit
Exit from the PFC view.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
dcb pfc enable [ mode { auto | manual } ]
PFC is enabled on the interface and the PFC working mode is specified.
By default, PFC is disabled on an interface.
NOTE:
Set the PFC work mode to manual to improve reliability of FCoE links and prevent problems caused by DCB negotiation failure when the peer device sends multiple types of LLDP packets.
- Run:
commit
The configuration is committed.