qos
AsterNOS Model for Quality of Service.
module: asternos-qos +--rw qos +--rw qos-maps | +--rw dscp-tc-maps | | +--rw dscp-tc-map* [name] | | +--rw name string | | +--rw mapping* [dscp] | | +--rw dscp uint8 | | +--rw tc? uint8 | +--rw dot1p-tc-maps | | +--rw dot1p-tc-map* [name] | | +--rw name string | | +--rw mapping* [dot1p] | | +--rw dot1p uint8 | | +--rw tc? uint8 | +--rw mpls-exp-tc-maps | | +--rw mpls-exp-tc-map* [name] | | +--rw name string | | +--rw mapping* [exp] | | +--rw exp uint8 | | +--rw tc? uint8 | +--rw tc-queue-maps | | +--rw tc-queue-map* [name] | | +--rw name string | | +--rw mapping* [tc] | | +--rw tc uint8 | | +--rw queue? uint8 | +--rw tc-mpls-exp-maps | | +--rw tc-mpls-exp-map* [name] | | +--rw name string | | +--rw mapping* [tc] | | +--rw tc uint8 | | +--rw exp? uint8 | +--rw tc-dscp-maps | | +--rw tc-dscp-map* [name] | | +--rw name string | | +--rw mapping* [tc] | | +--rw tc uint8 | | +--rw dscp? uint8 | +--rw tc-dot1p-maps | | +--rw tc-dot1p-map* [name] | | +--rw name string | | +--rw mapping* [tc] | | +--rw tc uint8 | | +--rw dot1p? uint8 | +--rw switch-qos-map | | +--rw tc-queue-map-name? -> /qos/qos-maps/tc-queue-maps/tc-queue-map/name | +--rw port-qos-maps | +--rw port-qos-map* [name] | +--rw name cmn:ethernet-port-name | +--rw dscp-tc-map-name? string | +--rw dot1p-tc-map-name? string | +--rw mpls-exp-tc-map-name? string | +--rw tc-dscp-map-name? string | +--rw tc-dot1p-map-name? string | +--rw tc-mpls-exp-map-name? string +--rw traffic-behaviors | +--rw traffic-behavior* [name] | +--rw name string | +--rw mode policy-mode | +--rw meter-type? meter-type | +--ro color-source? string | +--rw cir uint64 | +--rw cbs? uint64 | +--rw pir? uint64 | +--rw pbs? uint64 | +--rw yellow-packet-action? packet-action | +--rw red-packet-action? packet-action | +--rw remark-dot1p? uint8 | +--rw remark-dscp? uint8 | +--rw remark-tc? uint8 +--rw port-shapers | +--rw port-shaper* [name] | +--rw name cmn:ethernet-port-name | +--rw pir uint64 | +--rw pbs uint64 +--rw schedulers | +--rw scheduler* [name queue] | +--rw name cmn:ethernet-port-name | +--rw queue uint8 | +--rw algorithm enumeration | +--rw weight? uint8 | +--rw pir? uint64 | +--rw pbs? uint64 +--rw limit-rates +--rw limit-rate* [port direction] +--rw port cmn:ethernet-port-name +--rw direction limit-direction-type +--rw cir uint64 +--rw cbs? uint64
augment /if:interfaces/if:interface: +--rw ingress-policer-name? -> /qos/traffic-behaviors/traffic-behavior/name
rpcs: +---x show-qos-map | +---w input | | +---w name? string | +--ro output | +--ro data? <anydata> +---x show-queue-counters | +---w input | | +---w interface_num? uint16 | +--ro output | +--ro data? <anydata> +---x clear-queue-counters | +--ro output | +--ro data? <anydata> +---x show-queue-cpu-port | +--ro output | +--ro data? <anydata> +---x show-traffic-behavior-counters | +--ro output | +--ro data? <anydata> +---x show-interface-policer | +--ro output | +--ro data? <anydata> +---x show-interface-port-shaper | +--ro output | +--ro data? <anydata> +---x show-interface-qos-map-bind | +--ro output | +--ro data? <anydata> +---x show-interface-uc-tx-queue +--ro output +--ro data? <anydata>Resources
Section titled “Resources”Resource List
Section titled “Resource List”| Path | Access |
|---|---|
| /qos | Read-Write |
| /qos/qos-maps | Read-Write |
| /qos/qos-maps/dscp-tc-maps | Read-Write |
| /qos/qos-maps/dscp-tc-maps/dscp-tc-map | Read-Write |
| /qos/qos-maps/dscp-tc-maps/dscp-tc-map/name | Read-Write |
| /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping | Read-Write |
| /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/dscp | Read-Write |
| /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/tc | Read-Write |
| /qos/qos-maps/dot1p-tc-maps | Read-Write |
| /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map | Read-Write |
| /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/name | Read-Write |
| /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping | Read-Write |
| /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/dot1p | Read-Write |
| /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/tc | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/name | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/exp | Read-Write |
| /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/tc | Read-Write |
| /qos/qos-maps/tc-queue-maps | Read-Write |
| /qos/qos-maps/tc-queue-maps/tc-queue-map | Read-Write |
| /qos/qos-maps/tc-queue-maps/tc-queue-map/name | Read-Write |
| /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping | Read-Write |
| /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/tc | Read-Write |
| /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/queue | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/name | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/tc | Read-Write |
| /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/exp | Read-Write |
| /qos/qos-maps/tc-dscp-maps | Read-Write |
| /qos/qos-maps/tc-dscp-maps/tc-dscp-map | Read-Write |
| /qos/qos-maps/tc-dscp-maps/tc-dscp-map/name | Read-Write |
| /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping | Read-Write |
| /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/tc | Read-Write |
| /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/dscp | Read-Write |
| /qos/qos-maps/tc-dot1p-maps | Read-Write |
| /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map | Read-Write |
| /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/name | Read-Write |
| /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping | Read-Write |
| /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/tc | Read-Write |
| /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/dot1p | Read-Write |
| /qos/qos-maps/switch-qos-map | Read-Write |
| /qos/qos-maps/switch-qos-map/tc-queue-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/dscp-tc-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/dot1p-tc-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/mpls-exp-tc-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/tc-dscp-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/tc-dot1p-map-name | Read-Write |
| /qos/qos-maps/port-qos-maps/port-qos-map/tc-mpls-exp-map-name | Read-Write |
| /qos/traffic-behaviors | Read-Write |
| /qos/traffic-behaviors/traffic-behavior | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/name | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/mode | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/meter-type | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/color-source | Read-Only |
| /qos/traffic-behaviors/traffic-behavior/cir | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/cbs | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/pir | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/pbs | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/yellow-packet-action | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/red-packet-action | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/remark-dot1p | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/remark-dscp | Read-Write |
| /qos/traffic-behaviors/traffic-behavior/remark-tc | Read-Write |
| /qos/port-shapers | Read-Write |
| /qos/port-shapers/port-shaper | Read-Write |
| /qos/port-shapers/port-shaper/name | Read-Write |
| /qos/port-shapers/port-shaper/pir | Read-Write |
| /qos/port-shapers/port-shaper/pbs | Read-Write |
| /qos/schedulers | Read-Write |
| /qos/schedulers/scheduler | Read-Write |
| /qos/schedulers/scheduler/name | Read-Write |
| /qos/schedulers/scheduler/queue | Read-Write |
| /qos/schedulers/scheduler/algorithm | Read-Write |
| /qos/schedulers/scheduler/weight | Read-Write |
| /qos/schedulers/scheduler/pir | Read-Write |
| /qos/schedulers/scheduler/pbs | Read-Write |
| /qos/limit-rates | Read-Write |
| /qos/limit-rates/limit-rate | Read-Write |
| /qos/limit-rates/limit-rate/port | Read-Write |
| /qos/limit-rates/limit-rate/direction | Read-Write |
| /qos/limit-rates/limit-rate/cir | Read-Write |
| /qos/limit-rates/limit-rate/cbs | Read-Write |
| /?/interfaces/interface/ingress-policer-name | Read-Write |
Detailed Nodes
Section titled “Detailed Nodes”Path /qos
Node Type container
Description Top-level container for QoS data.
Access Read-Write
/qos/qos-maps
Section titled “/qos/qos-maps”Path /qos/qos-maps
Node Type container
Description There are two types of QoS Maps. The first type allows user to create QoS mapping to Traffic Class/color based on DSCP/Dot1p fields. These mappings are applied to inbound ports to classify the packets into different traffic classes/colors based on DSCP/Dot1p fields. Different traffic classes/colors can be associated with different SAI QoS objects (e.g., queues, wred) to provides differentiated services. User can also create map between traffic class to egress queue. ^ DCSP -> Traffic Class/Color ^ Dot1p -> Traffic Class/Color ^ MPLS Exp -> Traffic Class/Color ^ Traffic Class -> egress queue ^ Traffic Class -> MPLS Exp ^ Traffic Class -> DSCP ^ Traffic Class -> Dot1p The second type allows use to map incoming traffic to ingress buffer as well as set the priority field in the PFC frames. ^ Traffic Class to ingress buffer: This maps incoming traffic to ingress buffer.
Access Read-Write
/qos/qos-maps/dscp-tc-maps
Section titled “/qos/qos-maps/dscp-tc-maps”Path /qos/qos-maps/dscp-tc-maps
Node Type container
Description Mapping of DSCP to Traffic Class.
Access Read-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map
Section titled “/qos/qos-maps/dscp-tc-maps/dscp-tc-map”Path /qos/qos-maps/dscp-tc-maps/dscp-tc-map
Node Type list
Description In the new RFC 2474 specification, the ToS field in the IP header has been redefined and is now referred to as the DS (Differentiated Services) field, which is also a single byte (8 bits). In total, the 0-5 bits (6 bits in total) are used to indicate the DSCP (Differentiated Services Code Point) priority, ranging from 0 to 63, which can identify 64 priority values (the higher the value, the higher the priority), and the last two bits are reserved. Explicit Congestion Notification (ECN). ^ DCSP -> Traffic Class/Color
Access Read-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/name
Section titled “/qos/qos-maps/dscp-tc-maps/dscp-tc-map/name”Path /qos/qos-maps/dscp-tc-maps/dscp-tc-map/name
Node Type leaf
Description Name of dscp-tc-map, Represents a set of mappings.
Access
Read-WriteData Type
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping
Section titled “/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping”Path /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping
Node Type list
Description Mapping relationship between dscp value and traffic class.
Access Read-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/dscp
Section titled “/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/dscp”Path /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/dscp
Node Type leaf
Description The value of dscp.
Access Read-Write
Data Type
Constraints Valid range: 0 to 63
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/tc
Section titled “/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/tc”Path /qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/tc
Node Type leaf
Description The value of traffic class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/dot1p-tc-maps
Section titled “/qos/qos-maps/dot1p-tc-maps”Path /qos/qos-maps/dot1p-tc-maps
Node Type container
Description Mapping of dot1p to Traffic Class.
Access Read-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map
Section titled “/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map”Path /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map
Node Type list
Description The priority in the VLAN frame is the value 802.1p priority (defined by the IEEE 802.1p protocol), which is located in the ‘PRI’ subfield of the ‘802.1Q Tag’ field in the VLAN frame. ^ Dot1p -> Traffic Class/Color
Access Read-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/name
Section titled “/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/name”Path /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/name
Node Type leaf
Description Name of dot1p-tc-map.
Access Read-Write
Data Type
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping
Section titled “/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping”Path /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping
Node Type list
Description Mapping relationship between dot1p value and traffic class.
Access Read-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/dot1p
Section titled “/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/dot1p”Path /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/dot1p
Node Type leaf
Description The value of dot1p.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/tc
Section titled “/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/tc”Path /qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/tc
Node Type leaf
Description The value of Traffic Class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/mpls-exp-tc-maps
Section titled “/qos/qos-maps/mpls-exp-tc-maps”Path /qos/qos-maps/mpls-exp-tc-maps
Node Type container
Description Mapping of MPLS Exp to Traffic Class.
Access Read-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map
Section titled “/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map”Path /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map
Node Type list
Description ^ MPLS Exp -> Traffic Class/Color
Access Read-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/name
Section titled “/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/name”Path /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/name
Node Type leaf
Description Name of exp-tc-map, Represents a set of mappings.
Access
Read-Write
Data Type
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping
Section titled “/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping”Path /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping
Node Type list
Description Mapping relationship between exp value and traffic class.
Access Read-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/exp
Section titled “/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/exp”Path /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/exp
Node Type leaf
Description The value of MPLS exp.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/tc
Section titled “/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/tc”Path /qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/tc
Node Type leaf
Description The value of traffic class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-queue-maps
Section titled “/qos/qos-maps/tc-queue-maps”Path /qos/qos-maps/tc-queue-maps
Node Type container
Description Mapping of Traffic Class to Queue.
Access Read-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map
Section titled “/qos/qos-maps/tc-queue-maps/tc-queue-map”Path /qos/qos-maps/tc-queue-maps/tc-queue-map
Node Type list
Description The map between traffic class to egress queue. ^ Traffic Class -> egress queue
Access Read-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/name
Section titled “/qos/qos-maps/tc-queue-maps/tc-queue-map/name”Path /qos/qos-maps/tc-queue-maps/tc-queue-map/name
Node Type leaf
Description Name of tc-queue-map.
Access Read-Write
Data Type
/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping
Section titled “/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping”Path /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping
Node Type list
Description Mapping relationship between traffic class and egress queue.
Access Read-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/tc
Section titled “/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/tc”Path /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/tc
Node Type leaf
Description The value of Traffic Class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/queue
Section titled “/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/queue”Path /qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/queue
Node Type leaf
Description The value of egress queue.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-mpls-exp-maps
Section titled “/qos/qos-maps/tc-mpls-exp-maps”Path /qos/qos-maps/tc-mpls-exp-maps
Node Type container
Description Mapping of Traffic Class To MPLS Exp.
Access Read-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map
Section titled “/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map”Path /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map
Node Type list
Description ^ Traffic Class/Color -> MPLS Exp
Access Read-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/name
Section titled “/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/name”Path /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/name
Node Type leaf
Description Name of tc-exp-map, Represents a set of mappings.
Access Read-Write
Data Type
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping
Section titled “/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping”Path /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping
Node Type list
Description Mapping relationship between exp value and traffic class.
Access Read-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/tc
Section titled “/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/tc”Path /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/tc
Node Type leaf
Description The value of MPLS exp.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/exp
Section titled “/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/exp”Path /qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/exp
Node Type leaf
Description The value of traffic class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-dscp-maps
Section titled “/qos/qos-maps/tc-dscp-maps”Path /qos/qos-maps/tc-dscp-maps
Node Type container
Description Mapping of Traffic Class to DSCP. Access Read-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map
Section titled “/qos/qos-maps/tc-dscp-maps/tc-dscp-map”Path /qos/qos-maps/tc-dscp-maps/tc-dscp-map
Node Type list
Description In the new RFC 2474 specification, the ToS field in the IP header has been redefined and is now referred to as the DS (Differentiated Services) field, which is also a single byte (8 bits). In total, the 0-5 bits (6 bits in total) are used to indicate the DSCP (Differentiated Services Code Point) priority, ranging from 0 to 63, which can identify 64 priority values (the higher the value, the higher the priority), and the last two bits are reserved. Explicit Congestion Notification (ECN). ^ Traffic Class/Color -> DCSP
Access Read-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/name
Section titled “/qos/qos-maps/tc-dscp-maps/tc-dscp-map/name”Path /qos/qos-maps/tc-dscp-maps/tc-dscp-map/name
Node Type leaf
Description Name of dscp-tc-map, Represents a set of mappings.
Access Read-Write
Data Type
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping
Section titled “/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping”Path /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping
Node Type list
Description Mapping relationship between dscp value and traffic class.
Access Read-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/tc
Section titled “/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/tc”Path /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/tc
Node Type leaf
Description The value of traffic class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/dscp
Section titled “/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/dscp”Path /qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/dscp
Node Type leaf
Description The value of dscp.
Access Read-Write
Data Type
Constraints Valid range: 0 to 63
/qos/qos-maps/tc-dot1p-maps
Section titled “/qos/qos-maps/tc-dot1p-maps”Path /qos/qos-maps/tc-dot1p-maps
Node Type container
Description Mapping of do Traffic Class to dot1p.
Access Read-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map
Section titled “/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map”Path /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map
Node Type list
Description The priority in the VLAN frame is the value 802.1p priority (defined by the IEEE 802.1p protocol), which is located in the ‘PRI’ subfield of the ‘802.1Q Tag’ field in the VLAN frame. ^ Traffic Class/Color -> Dot1p
Access Read-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/name
Section titled “/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/name”Path /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/name
Node Type leaf
Description Name of tc-dot1p-map.
Access Read-Write
Data Type
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping
Section titled “/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping”Path /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping
Node Type list
Description Mapping relationship between dot1p value and traffic class.
Access Read-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/tc
Section titled “/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/tc”Path /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/tc
Node Type leaf
Description The value of Traffic Class.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/dot1p
Section titled “/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/dot1p”Path /qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/dot1p
Node Type leaf
Description The value of dot1p.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/qos-maps/switch-qos-map
Section titled “/qos/qos-maps/switch-qos-map”Path /qos/qos-maps/switch-qos-map
Node Type container
Description TC to Queue map for Switch.
Access Read-Write
/qos/qos-maps/switch-qos-map/tc-queue-map-name
Section titled “/qos/qos-maps/switch-qos-map/tc-queue-map-name”Path /qos/qos-maps/switch-qos-map/tc-queue-map-name
Node Type leaf
Description TC to Queue map name.
Access Read-Write
Data Type
Constraints LeafRef pointing to: asternos-qos-map:qos-map-top/qos-maps/switch-qos-map/leafref
/qos/qos-maps/port-qos-maps
Section titled “/qos/qos-maps/port-qos-maps”Path /qos/qos-maps/port-qos-maps
Node Type container
Description QoS map for port. include dscp-tc and dot1p-tc.
Access Read-Write
/qos/qos-maps/port-qos-maps/port-qos-map
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map”Path /qos/qos-maps/port-qos-maps/port-qos-map
Node Type list
Description QoS map for port.
Access Read-Write
/qos/qos-maps/port-qos-maps/port-qos-map/name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/name”Path /qos/qos-maps/port-qos-maps/port-qos-map/name
Node Type leaf
Description Port name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/dscp-tc-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/dscp-tc-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/dscp-tc-map-name
Node Type leaf
Description DSCP to TC map name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/dot1p-tc-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/dot1p-tc-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/dot1p-tc-map-name
Node Type leaf
Description Dot1p to TC map name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/mpls-exp-tc-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/mpls-exp-tc-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/mpls-exp-tc-map-name
Node Type leaf
Description MPLS exp to TC map name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/tc-dscp-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/tc-dscp-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/tc-dscp-map-name
Node Type leaf
Description TC to DSCP map name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/tc-dot1p-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/tc-dot1p-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/tc-dot1p-map-name
Node Type leaf
Description TC to Dot1p map name.
Access Read-Write
Data Type
/qos/qos-maps/port-qos-maps/port-qos-map/tc-mpls-exp-map-name
Section titled “/qos/qos-maps/port-qos-maps/port-qos-map/tc-mpls-exp-map-name”Path /qos/qos-maps/port-qos-maps/port-qos-map/tc-mpls-exp-map-name
Node Type leaf
Description TC to MPLS exp map name.
Access Read-Write
Data Type
/qos/traffic-behaviors
Section titled “/qos/traffic-behaviors”Path /qos/traffic-behaviors
Node Type container
Description qos module, traffic behavior container configuration.
Access Read-Write
/qos/traffic-behaviors/traffic-behavior
Section titled “/qos/traffic-behaviors/traffic-behavior”Path /qos/traffic-behaviors/traffic-behavior
Node Type list
Description The token bucket algorithm is used to implement the Policer rate-limiting function. Currently, both sr_tcm and tr_tcm token bucket modes are supported, where sr_tcm stands for single bucket, single speed mode (EBS=0). tr_tcm stands for two-bucket, two-speed mode. sr_tcm focuses on the burst of packet size, while tr_tcm focuses on the burst of packet rate. To configure the speed limit, it is necessary to configure cir, cbs and other parameters, where cir refers to the commitment information rate, that is, the average rate that is guaranteed to pass. cbs refers to the commitment burst size, that is, the commitment burst traffic that can pass in an instant. pir refers to the peak information rate, which is the maximum allowed rate. pbs refers to the peak burst size, which is the maximum burst flow allowed to pass in an instant
Access Read-Write
/qos/traffic-behaviors/traffic-behavior/name
Section titled “/qos/traffic-behaviors/traffic-behavior/name”Path /qos/traffic-behaviors/traffic-behavior/name
Node Type leaf
Description Name of traffic behavior.
Access Read-Write
Data Type
/qos/traffic-behaviors/traffic-behavior/mode
Section titled “/qos/traffic-behaviors/traffic-behavior/mode”Path /qos/traffic-behaviors/traffic-behavior/mode
Node Type leaf
Description Policer mode.
Access Read-Write
Data Type
Constraints
Enumeration with options: sr-tcm tr-tcm
Mandatory Yes
/qos/traffic-behaviors/traffic-behavior/meter-type
Section titled “/qos/traffic-behaviors/traffic-behavior/meter-type”Path /qos/traffic-behaviors/traffic-behavior/meter-type
Node Type leaf
Description Policer Meter Type, default is bytes.
Access Read-Write
Data Type
Constraints Enumeration with options: packets bytes
/qos/traffic-behaviors/traffic-behavior/color-source
Section titled “/qos/traffic-behaviors/traffic-behavior/color-source”Path /qos/traffic-behaviors/traffic-behavior/color-source
Node Type leaf
Description Policer Color Source; Currently only the configuration is supported as ‘AWARE’.
Access Read-Only
Data Type
/qos/traffic-behaviors/traffic-behavior/cir
Section titled “/qos/traffic-behaviors/traffic-behavior/cir”Path /qos/traffic-behaviors/traffic-behavior/cir
Node Type leaf
Description Committed information rate KBPS/KPPS based on.
Access Read-Write
Data Type
Constraints Valid range: 0 to 13653229
Mandatory Yes
/qos/traffic-behaviors/traffic-behavior/cbs
Section titled “/qos/traffic-behaviors/traffic-behavior/cbs”Path /qos/traffic-behaviors/traffic-behavior/cbs
Node Type leaf
Description Committed burst size bytes/packets based on.
Access Read-Write
Data Type
Constraints Valid range: 0 to 27961600
/qos/traffic-behaviors/traffic-behavior/pir
Section titled “/qos/traffic-behaviors/traffic-behavior/pir”Path /qos/traffic-behaviors/traffic-behavior/pir
Node Type leaf
Description Peak information rate KBPS/KPPS based on, It works when the mode is tr-tcm.
Access Read-Write
Data Type
Constraints Multiple constraints: Valid range: 0 to 16383875 When condition: ../mode = ‘tr-tcm’
/qos/traffic-behaviors/traffic-behavior/pbs
Section titled “/qos/traffic-behaviors/traffic-behavior/pbs”Path /qos/traffic-behaviors/traffic-behavior/pbs
Node Type leaf
Description Peak burst size bytes/packets based on, It works when the mode is tr-tcm.
Access Read-Write
Data Type
Constraints Multiple constraints: Valid range: 0 to 33553920 When condition: ../mode = ‘tr-tcm’
/qos/traffic-behaviors/traffic-behavior/yellow-packet-action
Section titled “/qos/traffic-behaviors/traffic-behavior/yellow-packet-action”Path /qos/traffic-behaviors/traffic-behavior/yellow-packet-action
Node Type leaf
Description Action to take for Yellow color packets.
Access Read-Write
Data Type
Constraints Enumeration with options: FORWARD DROP REMARK
/qos/traffic-behaviors/traffic-behavior/red-packet-action
Section titled “/qos/traffic-behaviors/traffic-behavior/red-packet-action”Path /qos/traffic-behaviors/traffic-behavior/red-packet-action
Node Type leaf
Description Action to take for RED color packets.
Access Read-Write
Data Type
Constraints Enumeration with options: FORWARD DROP REMARK
/qos/traffic-behaviors/traffic-behavior/remark-dot1p
Section titled “/qos/traffic-behaviors/traffic-behavior/remark-dot1p”Path /qos/traffic-behaviors/traffic-behavior/remark-dot1p
Node Type leaf
Description The value of dot1p for remark action.
Access Read-Write
Data Type
Constraints Multiple constraints: When condition: ../yellow-action = ‘REMARK’ or ../red-action = ‘REMARK’ Valid range: 0 to 7
/qos/traffic-behaviors/traffic-behavior/remark-dscp
Section titled “/qos/traffic-behaviors/traffic-behavior/remark-dscp”Path /qos/traffic-behaviors/traffic-behavior/remark-dscp
Node Type leaf
Description The value of dscp for remark action.
Access Read-Write
Data Type
Constraints Multiple constraints: When condition: ../yellow-action = ‘REMARK’ or ../red-action = ‘REMARK’ Valid range: 0 to 63
/qos/traffic-behaviors/traffic-behavior/remark-tc
Section titled “/qos/traffic-behaviors/traffic-behavior/remark-tc”Path /qos/traffic-behaviors/traffic-behavior/remark-tc
Node Type leaf
Description The value of tc for remark action.
Access Read-Write
Data Type
Constraints Multiple constraints: When condition: ../yellow-action = ‘REMARK’ or ../red-action = ‘REMARK’ Valid range: 0 to 7
/qos/port-shapers
Section titled “/qos/port-shapers”Path /qos/port-shapers
Node Type container
Description QoS port-shapers for port.
Access Read-Write
/qos/port-shapers/port-shaper
Section titled “/qos/port-shapers/port-shaper”Path /qos/port-shapers/port-shaper
Node Type list
Description QoS port-shapers for port.
Access Read-Write
/qos/port-shapers/port-shaper/name
Section titled “/qos/port-shapers/port-shaper/name”Path /qos/port-shapers/port-shaper/name
Node Type leaf
Description Port name.
Access Read-Write
Data Type
/qos/port-shapers/port-shaper/pir
Section titled “/qos/port-shapers/port-shaper/pir”Path /qos/port-shapers/port-shaper/pir
Node Type leaf
Description Maximum port shape rate [bytes].
Access Read-Write
Data Type
Mandatory Yes
/qos/port-shapers/port-shaper/pbs
Section titled “/qos/port-shapers/port-shaper/pbs”Path /qos/port-shapers/port-shaper/pbs
Node Type leaf
Description Maximum Burst for port shape rate [bytes].
Access Read-Write
Data Type
Mandatory Yes
/qos/schedulers
Section titled “/qos/schedulers”Path /qos/schedulers
Node Type container
Description QoS scheduler(uc-tx-queue) for port.
Access Read-Write
/qos/schedulers/scheduler
Section titled “/qos/schedulers/scheduler”Path /qos/schedulers/scheduler
Node Type list
Description QoS scheduler(uc-tx-queue) for port.
Access Read-Write
/qos/schedulers/scheduler/name
Section titled “/qos/schedulers/scheduler/name”Path /qos/schedulers/scheduler/name
Node Type leaf
Description Port name.
Access Read-Write
Data Type
/qos/schedulers/scheduler/queue
Section titled “/qos/schedulers/scheduler/queue”Path /qos/schedulers/scheduler/queue
Node Type leaf
Description The value of egress queue.
Access Read-Write
Data Type
Constraints Valid range: 0 to 7
/qos/schedulers/scheduler/algorithm
Section titled “/qos/schedulers/scheduler/algorithm”Path /qos/schedulers/scheduler/algorithm
Node Type leaf
Description Users can put important protocol packets and delay-sensitive service packets into the queue scheduled by PQ, and allocate the specified bandwidth to the queue. Other packets are put into each queue scheduled by DWRR according to their priority, and each queue is scheduled circularly according to their weight. Note: By standard, the queue priority of all DWRRS should be less than the priority of all PQ queues.
Access Read-Write
Data Type
Constraints Enumeration with options: STRICT DWRR
Mandatory Yes
/qos/schedulers/scheduler/weight
Section titled “/qos/schedulers/scheduler/weight”Path /qos/schedulers/scheduler/weight
Node Type leaf
Description The weighted value of the queue scheduling algorithm.
Access Read-Write
Data Type
Constraints Multiple constraints: When condition: ../algorithm = ‘DWRR’ Valid range: 1 to 100
/qos/schedulers/scheduler/pir
Section titled “/qos/schedulers/scheduler/pir”Path /qos/schedulers/scheduler/pir
Node Type leaf
Description Maximum queue rate [bytes].
Access Read-Write
Data Type
/qos/schedulers/scheduler/pbs
Section titled “/qos/schedulers/scheduler/pbs”Path /qos/schedulers/scheduler/pbs
Node Type leaf
Description Maximum Burst for queue rate [bytes].
Access Read-Write
Data Type
/qos/limit-rates
Section titled “/qos/limit-rates”Path /qos/limit-rates
Node Type container
Description qos module, limit rate container configuration.
Access Read-Write
/qos/limit-rates/limit-rate
Section titled “/qos/limit-rates/limit-rate”Path /qos/limit-rates/limit-rate
Node Type list
Description To configure the speed limit, it is necessary to configure cir, cbs and other parameters, where cir refers to the commitment information rate, that is, the average rate that is guaranteed to pass. cbs refers to the commitment burst size, that is, the commitment burst traffic that can pass in an instant.
Access Read-Write
/qos/limit-rates/limit-rate/port
Section titled “/qos/limit-rates/limit-rate/port”Path /qos/limit-rates/limit-rate/port
Node Type leaf
Description Port name
Access Read-Write
Data Type
/qos/limit-rates/limit-rate/direction
Section titled “/qos/limit-rates/limit-rate/direction”Path /qos/limit-rates/limit-rate/direction
Node Type leaf
Description Export or import router.
Access Read-Write
Data Type
Constraints Enumeration with options: ingress egress
/qos/limit-rates/limit-rate/cir
Section titled “/qos/limit-rates/limit-rate/cir”Path /qos/limit-rates/limit-rate/cir
Node Type leaf
Description Committed information rate KBPS/KPPS based on.
Access Read-Write
Data Type
Constraints Valid range: 0 to 13653229
Mandatory Yes
/qos/limit-rates/limit-rate/cbs
Section titled “/qos/limit-rates/limit-rate/cbs”Path /qos/limit-rates/limit-rate/cbs
Node Type leaf
Description Committed burst size bytes/packets based on.
Access Read-Write
Data Type
Constraints Valid range: 0 to 27961600
/?/interfaces/interface/ingress-policer-name
Section titled “/?/interfaces/interface/ingress-policer-name”Path /?/interfaces/interface/ingress-policer-name
Node Type leaf
Description Traffic behavior for port
Access Read-Write
Data Type
Constraints Multiple constraints: When condition: ../if:name LeafRef pointing to: asternos-qos:?/if:interfaces/if:interface/leafref