Configure Priority-based Flow Control
Priority-based flow control, which adopts priority-based flow control to control the forwarding traffic hop by hop, so as to realize that various types of traffic running on the Ethernet link are not affected by each other
Configuration Condition
None
Configure Priority-based Flow Control
PFC (Priority-based Flow Control) performs the traffic control based on the priority hop by hop. When the device forwards the packet, it enters the queue corresponding to the mapping relationship according to the priority of the packet for scheduling and forwarding. When the sending rate of the packets of one priority exceeds the receiving rate, resulting in insufficient available data buffer space of the receiver, the receiver will send PFC pause frame to the device of the previous hop. The device of the previous hop will stop sending the packets of the priority after receiving the pause frame packet, and the traffic transmission cannot be resumed until the PFC XON frame is received or after a certain aging time. Through the use of the PFC function, one type of traffic congestion will not affect the normal forwarding of other types of traffic, so that different types of packets on the same link do not affect each other.
Table 1-19 Configure the priority-based traffic control
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the L2/L3 Ethernet interface configuration mode
|
interface interface-name
|
-
|
Enable the PFC function of the port queue
|
priority-flow-control cos-vlue
|
cos-vlue: port queue number
|