跳转到内容

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>
PathAccess
/qosRead-Write
/qos/qos-mapsRead-Write
/qos/qos-maps/dscp-tc-mapsRead-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-mapRead-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/nameRead-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mappingRead-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/dscpRead-Write
/qos/qos-maps/dscp-tc-maps/dscp-tc-map/mapping/tcRead-Write
/qos/qos-maps/dot1p-tc-mapsRead-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-mapRead-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/nameRead-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mappingRead-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/dot1pRead-Write
/qos/qos-maps/dot1p-tc-maps/dot1p-tc-map/mapping/tcRead-Write
/qos/qos-maps/mpls-exp-tc-mapsRead-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-mapRead-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/nameRead-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mappingRead-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/expRead-Write
/qos/qos-maps/mpls-exp-tc-maps/mpls-exp-tc-map/mapping/tcRead-Write
/qos/qos-maps/tc-queue-mapsRead-Write
/qos/qos-maps/tc-queue-maps/tc-queue-mapRead-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/nameRead-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/mappingRead-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/tcRead-Write
/qos/qos-maps/tc-queue-maps/tc-queue-map/mapping/queueRead-Write
/qos/qos-maps/tc-mpls-exp-mapsRead-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-mapRead-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/nameRead-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mappingRead-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/tcRead-Write
/qos/qos-maps/tc-mpls-exp-maps/tc-mpls-exp-map/mapping/expRead-Write
/qos/qos-maps/tc-dscp-mapsRead-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-mapRead-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/nameRead-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mappingRead-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/tcRead-Write
/qos/qos-maps/tc-dscp-maps/tc-dscp-map/mapping/dscpRead-Write
/qos/qos-maps/tc-dot1p-mapsRead-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-mapRead-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/nameRead-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mappingRead-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/tcRead-Write
/qos/qos-maps/tc-dot1p-maps/tc-dot1p-map/mapping/dot1pRead-Write
/qos/qos-maps/switch-qos-mapRead-Write
/qos/qos-maps/switch-qos-map/tc-queue-map-nameRead-Write
/qos/qos-maps/port-qos-mapsRead-Write
/qos/qos-maps/port-qos-maps/port-qos-mapRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/dscp-tc-map-nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/dot1p-tc-map-nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/mpls-exp-tc-map-nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/tc-dscp-map-nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/tc-dot1p-map-nameRead-Write
/qos/qos-maps/port-qos-maps/port-qos-map/tc-mpls-exp-map-nameRead-Write
/qos/traffic-behaviorsRead-Write
/qos/traffic-behaviors/traffic-behaviorRead-Write
/qos/traffic-behaviors/traffic-behavior/nameRead-Write
/qos/traffic-behaviors/traffic-behavior/modeRead-Write
/qos/traffic-behaviors/traffic-behavior/meter-typeRead-Write
/qos/traffic-behaviors/traffic-behavior/color-sourceRead-Only
/qos/traffic-behaviors/traffic-behavior/cirRead-Write
/qos/traffic-behaviors/traffic-behavior/cbsRead-Write
/qos/traffic-behaviors/traffic-behavior/pirRead-Write
/qos/traffic-behaviors/traffic-behavior/pbsRead-Write
/qos/traffic-behaviors/traffic-behavior/yellow-packet-actionRead-Write
/qos/traffic-behaviors/traffic-behavior/red-packet-actionRead-Write
/qos/traffic-behaviors/traffic-behavior/remark-dot1pRead-Write
/qos/traffic-behaviors/traffic-behavior/remark-dscpRead-Write
/qos/traffic-behaviors/traffic-behavior/remark-tcRead-Write
/qos/port-shapersRead-Write
/qos/port-shapers/port-shaperRead-Write
/qos/port-shapers/port-shaper/nameRead-Write
/qos/port-shapers/port-shaper/pirRead-Write
/qos/port-shapers/port-shaper/pbsRead-Write
/qos/schedulersRead-Write
/qos/schedulers/schedulerRead-Write
/qos/schedulers/scheduler/nameRead-Write
/qos/schedulers/scheduler/queueRead-Write
/qos/schedulers/scheduler/algorithmRead-Write
/qos/schedulers/scheduler/weightRead-Write
/qos/schedulers/scheduler/pirRead-Write
/qos/schedulers/scheduler/pbsRead-Write
/qos/limit-ratesRead-Write
/qos/limit-rates/limit-rateRead-Write
/qos/limit-rates/limit-rate/portRead-Write
/qos/limit-rates/limit-rate/directionRead-Write
/qos/limit-rates/limit-rate/cirRead-Write
/qos/limit-rates/limit-rate/cbsRead-Write
/?/interfaces/interface/ingress-policer-nameRead-Write

Path /qos


Node Type container


Description Top-level container for QoS data.


Access Read-Write

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

Path /qos/qos-maps/dscp-tc-maps


Node Type container


Description Mapping of DSCP to Traffic Class.


Access Read-Write

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

Path /qos/qos-maps/dot1p-tc-maps


Node Type container


Description Mapping of dot1p to Traffic Class.


Access Read-Write

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

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

Path /qos/qos-maps/tc-queue-maps


Node Type container


Description Mapping of Traffic Class to Queue.


Access Read-Write

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

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

Path /qos/qos-maps/tc-dscp-maps


Node Type container


Description Mapping of Traffic Class to DSCP. Access Read-Write

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

Path /qos/qos-maps/tc-dot1p-maps

Node Type container

Description Mapping of do Traffic Class to dot1p.

Access Read-Write

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

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

Path /qos/qos-maps/port-qos-maps

Node Type container

Description QoS map for port. include dscp-tc and dot1p-tc.

Access Read-Write

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

Path /qos/traffic-behaviors

Node Type container

Description qos module, traffic behavior container configuration.

Access Read-Write

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

Path /qos/port-shapers

Node Type container

Description QoS port-shapers for port.

Access Read-Write

Path /qos/port-shapers/port-shaper

Node Type list

Description QoS port-shapers for port.

Access Read-Write

Path /qos/port-shapers/port-shaper/name

Node Type leaf

Description Port name.

Access Read-Write

Data Type

Path /qos/port-shapers/port-shaper/pir

Node Type leaf

Description Maximum port shape rate [bytes].

Access Read-Write

Data Type

Mandatory Yes

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

Path /qos/schedulers

Node Type container

Description QoS scheduler(uc-tx-queue) for port.

Access Read-Write

Path /qos/schedulers/scheduler

Node Type list

Description QoS scheduler(uc-tx-queue) for port.

Access Read-Write

Path /qos/schedulers/scheduler/name

Node Type leaf

Description Port name.

Access Read-Write

Data Type

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

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

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

Path /qos/schedulers/scheduler/pir

Node Type leaf

Description Maximum queue rate [bytes].

Access Read-Write

Data Type

Path /qos/schedulers/scheduler/pbs

Node Type leaf

Description Maximum Burst for queue rate [bytes].

Access Read-Write

Data Type

Path /qos/limit-rates

Node Type container

Description qos module, limit rate container configuration.

Access Read-Write

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

Path /qos/limit-rates/limit-rate/port

Node Type leaf

Description Port name

Access Read-Write

Data Type

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

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

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