set class-of-service pfc-profile code-point drop

The full name of pfc is priority flow control. This command defines pfc works on the specified code point. 

Note:  Lag interface doesn't support pfc, but it supports flow control now. If lag interface has enabled flow control, and its member port has enabled pfc, pfc is valid and flow control is invalid on this member port because pfc has higher priority than flow control.

Command Syntax

set class-of–service pfc-profile <profile-name> code-point <code-point> drop <boolean>
delete class-of–service pfc-profile <profile-name> code-point <code-point> drop

Parameter

  • <profile-name> Profile name,  string type.
  • <code-point>  0~7 value, only match ieee802.1p field.
  • <boolean> Value is true or false. Default value is false. If value is false, priority flow control function is enabled on this code point. Otherwise, priority flow control function is disabled on this code point.

Example

 • This example creates a pfc profile without any code point configuration. The default is that pfc is enabled on 0~7 code point.

admin@XorPlus# set class-of-service pfc-profile pfc1
admin@XorPlus# set class-of-service interface ge-1/1/1 pfc-profile pfc1
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# run show class-of-service interface ge-1/1/1
Interface : ge-1/1/1
802.1P         Priority Flow Control
-----------    ---------------------
0              true              
1              true              
2              true              
3              true              
4              true              
5              true              
6              true              
7              true              
trust mode : no-trust
Default ieee-802.1 : 0
Default dscp : 0
Default inet-precedence : 0
Local-priority   Queue-Schedule           Code-points
--------------   --------------------------   ------------------------------
0                SP,0kbps                                               
1                SP,0kbps                                               
2                SP,0kbps                                               
3                SP,0kbps                                               
4                SP,0kbps                                               
5                SP,0kbps                                               
6                SP,0kbps                                               
7                SP,0kbps                                               
 


• This example creates a pfc profile with code point 2 drop true.

admin@XorPlus# set class-of-service pfc-profile pfc2 code-point 2 drop true
admin@XorPlus# set class-of-service pfc-profile pfc2 code-point 4 drop true
admin@XorPlus# set class-of-service interface ge-1/1/2 pfc-profile pfc2
admin@XorPlus# commit
Commit OK.
Save done.

admin@XorPlus# run show class-of-service interface ge-1/1/2
Interface : ge-1/1/2
802.1P         Priority Flow Control
-----------    ---------------------
0              true              
1              true              
2              false             
3              true              
4              false             
5              true              
6              true              
7              true              
trust mode : no-trust
Default ieee-802.1 : 0
Default dscp : 0
Default inet-precedence : 0
Local-priority   Queue-Schedule           Code-points
--------------   --------------------------   ------------------------------
0                SP,0kbps                                               
1                SP,0kbps                                               
2                SP,0kbps                                               
3                SP,0kbps                                               
4                SP,0kbps                                               
5                SP,0kbps                                               
6                SP,0kbps                                               
7                SP,0kbps      
 



Copyright © 2024 Pica8 Inc. All Rights Reserved.