Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

User can configure a default priority for incoming packets on a port. The default-priority acts on incoming packets without a special field which is dscp, ieee-802.1 or inet-precedence.

For example, when trust mode is dscp on an interface, if the incoming packets can‘t match dscp field, these packets will be transmitted by default-priority configured in the interface. Otherwise, these packets will be transmitted by dscp value.  

Traffic class for default priority:

 UntrustedCoS TrustedToS TrustedDSCP Trusted
Untagged Non-IPDefault CoS (port)Default CoS (port)Default ToS (port)Default DSCP (port)
Untagged IPDefault CoS (port)Default CoS (port)ToS (packet)DSCP (packet)
Tagged Non-IPDefault CoS (port)CoS (packet)Default ToS (port)Default DSCP (port)
Tagged IPDefault CoS (port)CoS (packet)ToS (packet)DSCP (packet)

Command Syntax

set class-of–service interface <port> default-priority <default-priority-type> <default-priority-int>

delete class-of–service interface ge-1/1/1 default-priority


<port> Gigabit Ethernet Interface. e.g. ge-1/1/1.

<default-priority-type> the type of default priority, which can be dscp, ieee 802.1p or inet-precedence. The default value is ieee 802.1p.

<default-priority-int> the value of default priority, the valid range is 0~7 for ieee-802.1 and inet-precedence, 0~63 for dscp. The default value is 0 for dscp, ieee 802.1p or inet-precedence.


When not configuring any trust mode, configure default priority dscp 16 on ge-1/1/1. 

admin@XorPlus# set class-of-service interface ge-1/1/1 default-priority dscp 16
admin@XorPlus# commit
Commit OK.
Save done. 
admin@XorPlus# run show class-of-service interface ge-1/1/1
Interface : ge-1/1/1
trust mode : no-trust
Default ieee-802.1 : 0
Default dscp : 16
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      

 When trust mode is dscp, configure default priority dscp 16 on ge-1/1/2. 


admin@XorPlus# set class-of-service classifier c1 trust-mode dscp
admin@XorPlus# set class-of-service interface te-1/1/2 classifier c1
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# run show class-of-service interface te-1/1/2
Interface : te-1/1/2            
trust mode : dscp
Default ieee-802.1 : 0
Default dscp : 16
Default inet-precedence : 0
Local-priority   Queue-Schedule                 Code-points
--------------   --------------------------   ------------------------------
0                SP,0kbps                      0,1,2,3,4,5,6,7          
1                SP,0kbps                      8,9,10,11,12,13,14,15    
2                SP,0kbps                      16,17,18,19,20,21,22,23  
3                SP,0kbps                      24,25,26,27,28,29,30,31  
4                SP,0kbps                      32,33,34,35,36,37,38,39  
5                SP,0kbps                      40,41,42,43,44,45,46,47  
6                SP,0kbps                      48,49,50,51,52,53,54,55  
7                SP,0kbps                      56,57,58,59,60,61,62,63   




  • No labels