set class-of-service interface default-priority

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:

 

Untrusted

CoS Trusted

ToS Trusted

DSCP Trusted

 

Untrusted

CoS Trusted

ToS Trusted

DSCP Trusted

Untagged Non-IP

Default CoS (port)

Default CoS (port)

Default ToS (port)

Default DSCP (port)

Untagged IP

Default CoS (port)

Default CoS (port)

ToS (packet)

DSCP (packet)

Tagged Non-IP

Default CoS (port)

CoS (packet)

Default ToS (port)

Default DSCP (port)

Tagged IP

Default 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 <port> default-priority <default-priority-type>

 

Parameters

Parameter

Description

interface <port>

Gigabit Ethernet Interface. e.g. ge-1/1/1.

default-priority <default-priority-type> <default-priority-int>

<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.

 

Example

  • 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   

 

 

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.