NETCONF Configuration Guide
YANG API Reference
qos
110 min
module description asternos model for quality of service yang tree diagram 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 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 /qos path /qos node type container description top level container for qos data access read write /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 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 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 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 write data type /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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 path /qos/traffic behaviors node type container description qos module, traffic behavior container configuration access read write /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 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 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 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 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 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 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 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 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 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 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 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 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 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 path /qos/port shapers node type container description qos port shapers for port access read write /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 path /qos/port shapers/port shaper/name node type leaf description port name access read write data type /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 constraints valid range mandatory yes /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 constraints valid range mandatory yes /qos/schedulers path /qos/schedulers node type container description qos scheduler(uc tx queue) for port access read write /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 path /qos/schedulers/scheduler/name node type leaf description port name access read write data type /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 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 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 path /qos/schedulers/scheduler/pir node type leaf description maximum queue rate \[bytes] access read write data type constraints valid range /qos/schedulers/scheduler/pbs path /qos/schedulers/scheduler/pbs node type leaf description maximum burst for queue rate \[bytes] access read write data type constraints valid range /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 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 path /qos/limit rates/limit rate/port node type leaf description port name access read write data type /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 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 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 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 rpcs show qos map path access /show qos map/input read write /show qos map/input/name read write /show qos map/output read write /show qos map/output/data read write /show qos map/input path /show qos map/input node type container description no description available access read write /show qos map/input/name path /show qos map/input/name node type leaf description qos map name access read write data type /show qos map/output path /show qos map/output node type container description no description available access read write /show qos map/output/data path /show qos map/output/data node type anydata description display the qos map of the name specified by input access read write show queue counters path access /show queue counters/input read write /show queue counters/input/interface num read write /show queue counters/output read write /show queue counters/output/data read write /show queue counters/input path /show queue counters/input node type container description no description available access read write /show queue counters/input/interface num path /show queue counters/input/interface num node type leaf description interface name access read write data type constraints valid range /show queue counters/output path /show queue counters/output node type container description no description available access read write /show queue counters/output/data path /show queue counters/output/data node type anydata description display the queue counters of each port access read write clear queue counters path access /clear queue counters/output read write /clear queue counters/output/data read write /clear queue counters/output path /clear queue counters/output node type container description no description available access read write /clear queue counters/output/data path /clear queue counters/output/data node type anydata description display the clear execution result access read write show queue cpu port path access /show queue cpu port/output read write /show queue cpu port/output/data read write /show queue cpu port/output path /show queue cpu port/output node type container description no description available access read write /show queue cpu port/output/data path /show queue cpu port/output/data node type anydata description display the queue counters of cpu port access read write show traffic behavior counters path access /show traffic behavior counters/output read write /show traffic behavior counters/output/data read write /show traffic behavior counters/output path /show traffic behavior counters/output node type container description no description available access read write /show traffic behavior counters/output/data path /show traffic behavior counters/output/data node type anydata description display counters of traffic behavior access read write show interface policer path access /show interface policer/output read write /show interface policer/output/data read write /show interface policer/output path /show interface policer/output node type container description no description available access read write /show interface policer/output/data path /show interface policer/output/data node type anydata description display the policer of binding port access read write show interface port shaper path access /show interface port shaper/output read write /show interface port shaper/output/data read write /show interface port shaper/output path /show interface port shaper/output node type container description no description available access read write /show interface port shaper/output/data path /show interface port shaper/output/data node type anydata description display the port shaper of binding port access read write show interface qos map bind path access /show interface qos map bind/output read write /show interface qos map bind/output/data read write /show interface qos map bind/output path /show interface qos map bind/output node type container description no description available access read write /show interface qos map bind/output/data path /show interface qos map bind/output/data node type anydata description display the qos map of binding port access read write show interface uc tx queue path access /show interface uc tx queue/output read write /show interface uc tx queue/output/data read write /show interface uc tx queue/output path /show interface uc tx queue/output node type container description no description available access read write /show interface uc tx queue/output/data path /show interface uc tx queue/output/data node type anydata description display the uc tx queue of binding port access read write
