IPI-QOS
Configure enable qos
Use this attribute to globally enable or disable QoS
Attribute Name: enable-qos
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<config>
</enable-qos><!-- operation="delete"-->
</config>
</global>
</qos>
Command Syntax
qos enable
Configure red drop disabled
Use this attribute to disable red packet drop in the system. Red packets are dropped in the system by default to achieve ingress rate limiting via policer and storm control. However, this command is used when there is no use-case for rate limiting traffic and red packets need to be allowed in the system
Attribute Name: red-drop-disabled
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<config>
</red-drop-disabled><!-- operation="delete"-->
</config>
</global>
</qos>
Command Syntax
qos red-drop-disable
Configure statistics enabled
Use this attribute to enable QoS statistics
Attribute Name: statistics-enabled
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<config>
</statistics-enabled><!-- operation="delete"-->
</config>
</global>
</qos>
Command Syntax
qos statistics
Configure name
Use this attribute to set a name to CoS to Traffic-Class profile
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: name
Attribute Type: string
Attribute Range: 1-31
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<cos-to-queue-profiles>
<cos-to-queue-profile> <!-- operation="delete"-->
<name>NAME</name>
<config>
<name>WORD</name>
</config>
</cos-to-queue-profile>
</cos-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
qos profile cos-to-queue (NAME|default)
Configure cos value
Use this attribute to map a Class of Service (CoS) value to a particular Traffic-Class
This command is supported when following feature are enabled QoS custom options2,QoS Mapping Profile feature
Attribute Name: cos-value
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<cos-to-queue-profiles>
<cos-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<cos-to-queues>
<cos-to-queue> <!-- operation="delete"-->
<cos-value>0</cos-value>
<config>
<cos-value>0</cos-value>
<queue-id>0</queue-id>
</config>
</cos-to-queue>
</cos-to-queues>
</cos-to-queue-profile>
</cos-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
cos <0-7> queue <0-7>
Configure queue id
Use this attribute to select the Traffic-Class CoS is mapped to
This command is supported when following feature are enabled QoS custom options2,QoS Mapping Profile feature
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<cos-to-queue-profiles>
<cos-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<cos-to-queues>
<cos-to-queue>
<cos-value>0</cos-value>
<config>
<cos-value>0</cos-value>
</config>
<queue-id>0</queue-id> <!-- operation="delete"-->
</cos-to-queue>
</cos-to-queues>
</cos-to-queue-profile>
</cos-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
cos <0-7> queue <0-7>
Configure color
Use this attribute to select the color to map. Default value is 3.
This command is supported when following feature are enabled QoS custom options2,QoS Mapping Profile feature
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: remark-dscp-value
Attribute Type: uint8
Attribute Range: 0-63
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<dscp-to-dscp-profiles>
<dscp-to-dscp-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<dscp-to-dscps>
<dscp-to-dscp> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<dscp-value>0</dscp-value>
<remark-dscp-value>0</remark-dscp-value>
</config>
<dscp-value>0</dscp-value>
</dscp-to-dscp>
</dscp-to-dscps>
</dscp-to-dscp-profile>
</dscp-to-dscp-profiles>
</map-profile>
</global>
</qos>
Command Syntax
dscp <0-63> (color (green|yellow|red|all)|) dscp <0-63>
Configure precedence value
Use this attribute to select IP Precedence value in
This command is supported when following feature are enabled QoS custom options2,QoS Mapping Profile feature
Attribute Name: precedence-value
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: remark-precedence-value
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<precedence-to-precedence-profiles>
<precedence-to-precedence-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<precedence-to-precedences>
<precedence-to-precedence> <!-- operation="delete"-->
<precedence-value>0</precedence-value>
<config>
<precedence-value>0</precedence-value>
<remark-precedence-value>0</remark-precedence-value>
</config>
</precedence-to-precedence>
</precedence-to-precedences>
</precedence-to-precedence-profile>
</precedence-to-precedence-profiles>
</map-profile>
</global>
</qos>
Command Syntax
precedence <0-7> precedence <0-7>
Configure remark dscp value
Use this attribute to select Differentiated Services Control Protocol (DSCP) value out.
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: remark-dscp-value
Attribute Type: uint8
Attribute Range: 0-63
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: color
Attribute Type: enum (green|yellow|red)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<dscp-to-queue-profiles>
<dscp-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<dscp-to-queues>
<dscp-to-queue>
<dscp-value>0</dscp-value>
<config>
<dscp-value>0</dscp-value>
<queue-id>0</queue-id> <!-- operation="delete"-->
<color>green</color> <!-- operation="delete"-->
</config>
<remark-dscp-value>0</remark-dscp-value> <!-- operation="delete"-->
</dscp-to-queue>
</dscp-to-queues>
</dscp-to-queue-profile>
</dscp-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
dscp <0-63> queue <0-7> color (green|yellow|red) dscp <0-63>
Configure dscp value
Use this attribute to select the color to map.
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: color
Attribute Type: enum (green|yellow|red)
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<dscp-to-queue-profiles>
<dscp-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<dscp-to-queues>
<dscp-to-queue>
<dscp-value>0</dscp-value>
<config>
<dscp-value>0</dscp-value>
<queue-id>0</queue-id> <!-- operation="delete"-->
</config>
<color>green</color> <!-- operation="delete"-->
</dscp-to-queue>
</dscp-to-queues>
</dscp-to-queue-profile>
</dscp-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
dscp <0-63> queue <0-7> color (green|yellow|red)
Configure dscp encap value
Use this attribute to map a Differentiated Services Control Protocol (DSCP) value
This command is supported when following feature are enabled QoS custom options2,QoS Mapping Profile feature
Attribute Name: dscp-value
Attribute Type: uint8
Attribute Range: 0-63
Attribute Name: dscp-encap-value
Attribute Type: uint8
Attribute Range: 0-63
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<dscp-encapsulation-profiles>
<dscp-encapsulation-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<layer-3>
<dscp-to-dscp-encaps>
<dscp-to-dscp-encap> <!-- operation="delete"-->
<dscp-value>0</dscp-value>
<config>
<dscp-value>0</dscp-value>
<dscp-encap-value>0</dscp-encap-value>
</config>
</dscp-to-dscp-encap>
</dscp-to-dscp-encaps>
</layer-3>
</dscp-encapsulation-profile>
</dscp-encapsulation-profiles>
</map-profile>
</global>
</qos>
Command Syntax
l3 dscp <0-63> dscpEncap <0-63>
Configure exp value
Use this attribute to select the color to map. Default value is 3.
This command is supported when following feature are enabled Diffserv feature,QoS custom options2,QoS Mapping Profile feature and following feature are disabled QoS custom options3
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: exp-value
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<exp-encapsulation-profiles>
<exp-encapsulation-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<layer-2>
<queue-color-to-exps>
<queue-color-to-exp> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<queue-id>0</queue-id>
<exp-value>0</exp-value>
</config>
<queue-id>0</queue-id>
</queue-color-to-exp>
</queue-color-to-exps>
</layer-2>
</exp-encapsulation-profile>
</exp-encapsulation-profiles>
</map-profile>
</global>
</qos>
Command Syntax
l2 queue <0-7> (color (green|yellow|red|all)|) exp <0-7>
Configure profile id
Use this attribute to set a name to MPLS experimental (EXP) to Traffic-Class profile name. Default value is 0.
This command is supported when following feature are enabled Diffserv feature,QoS Mapping Profile feature
Attribute Name: profile-id
Attribute Type: enum (default)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<exp-to-queue-profiles>
<exp-to-queue-profile> <!-- operation="delete"-->
<profile-id>default</profile-id>
<config>
<profile-id>default</profile-id>
</config>
</exp-to-queue-profile>
</exp-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
qos profile exp-to-queue default
Configure remark precedence value
Use this attribute to select IP Precedence value out.
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: remark-precedence-value
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<map-profile>
<precedence-to-queue-profiles>
<precedence-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<precedence-to-queues>
<precedence-to-queue>
<precedence-value>0</precedence-value>
<config>
<precedence-value>0</precedence-value>
<queue-id>0</queue-id> <!-- operation="delete"-->
</config>
<remark-precedence-value>0</remark-precedence-value> <!-- operation="delete"-->
</precedence-to-queue>
</precedence-to-queues>
</precedence-to-queue-profile>
</precedence-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
precedence <0-7> queue <0-7> precedence <0-7>
Configure cos
Use this command to enable remarking of CoS set by the egress map
Attribute Name: cos
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<remark>
<config>
</cos><!-- operation="delete"-->
</config>
</remark>
</global>
</qos>
Command Syntax
qos remark cos
Configure dscp
Use this command to enable remarking of DSCP set by the egress map
Attribute Name: dscp
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<remark>
<config>
</dscp><!-- operation="delete"-->
</config>
</remark>
</global>
</qos>
Command Syntax
qos remark dscp
Configure type
Use this attribute to set the class-map name
Attribute Name: name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: type
Attribute Type: enum (qos|queuing|queuing-default)
Attribute Name: match-criteria
Attribute Type: enum (match-all|match-any)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map> <!-- operation="delete"-->
<name>NAME</name>
<config>
<name>NAME</name>
<type>1</type>
<match-criteria>1</match-criteria>
</config>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
class-map NAME
Configure match criteria
Use this attribute to set the class-map name
Attribute Name: name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: type
Attribute Type: enum (qos|queuing|queuing-default)
Attribute Name: match-criteria
Attribute Type: enum (match-all|match-any)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map> <!-- operation="delete"-->
<name>NAME</name>
<config>
<name>NAME</name>
<type>qos</type>
<match-criteria>1</match-criteria>
</config>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
class-map type (qos) NAME
Configure reference description
This attribute configures reference description message on class-map profile for QoS type.
Attribute Name: reference-description
Attribute Type: string
Attribute Range: 1-64
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<reference-description>LINE</reference-description> <!-- operation="delete"-->
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
reference-description LINE
Configure access control list name
Use this attribute to classify traffic based on the Access Control List (ACL)
Attribute Name: access-control-list-name
Attribute Type: string
Attribute Range: 1-64
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<access-control-list-name>NAME</access-control-list-name> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match access-group NAME
Configure ethertype
Use this attribute to classify traffic based on the EtherType value(s)
Attribute Name: ethertype
Attribute Type: string
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<ethertype>WORD</ethertype> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ethertype WORD
Configure traffic type
Use this attribute to classify traffic based on the traffic type value
Attribute Name: traffic-type
Attribute Type: enum (l2-mc|l2-bc|default|l2-unknown)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<traffic-type>l2-mc</traffic-type> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match traffic-type (l2-mc|l2-bc|default|l2-unknown)
Configure inner cos
Use this attribute to classify traffic based on inner Class of Service (CoS) value
Attribute Name: inner-cos
Attribute Type: string
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<inner-cos>WORD</inner-cos> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match cos inner WORD
Configure vlan
Use this attribute to classify traffic based on VLAN ID. Enter VLAN ID 1-4094 or range of VLAN ID’s.
Attribute Name: vlan
Attribute Type: string
Attribute Range: 1-4094
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<vlan>WORD</vlan> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match vlan WORD
Configure inner vlan
Use this attribute to classify traffic based on inner VLAN ID. Enter VLAN ID 1-4094 or range of VLAN ID’s.
Attribute Name: inner-vlan
Attribute Type: string
Attribute Range: 1-4094
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<inner-vlan>WORD</inner-vlan> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match vlan inner WORD
Configure rtp
Use this attribute to classify traffic based on the Real-time Transport Protocol (RTP). The rtp value 2000-65535 or range of rtp values.
Attribute Name: rtp
Attribute Type: string
Attribute Range: 2000-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<rtp>WORD</rtp> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ip rtp WORD
Configure mpls exp
Use this attribute to classify traffic based on the MPLS experimental (EXP) value
Attribute Name: mpls-exp
Attribute Type: string
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<mpls-exp>WORD</mpls-exp> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mpls experimental topmost WORD
Configure ipv6 dscp
Use this attribute to classify traffic based on the Differentiated Services Control Protocol (DSCP) value. Warning: In CLI show running, DSCP values with well-known names (ex.: af11, cs0) will be displayed as such. On Netconf, DSCP values will always be numeric.
Attribute Name: ipv6-dscp
Attribute Type: string
Attribute Range: 0-63
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<ipv6-dscp>WORD</ipv6-dscp> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 dscp WORD
Configure precedence
Use this attribute to classify traffic based on the precedence value. Warning: In CLI show running, precedence values with well-known names (ex.: priority, immediate) will be displayed as such. On Netconf, precedence values will always be numeric.
Attribute Name: precedence
Attribute Type: string
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<precedence>WORD</precedence> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match precedence WORD
Configure ipv6 precedence
Use this attribute to classify IPv6 traffic based on the precedence value. Warning: In CLI show running, precedence values with well-known names (ex.: priority, immediate) will be displayed as such. On Netconf, precedence values will always be numeric.
Attribute Name: ipv6-precedence
Attribute Type: string
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<config>
<ipv6-precedence>WORD</ipv6-precedence> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 precedence WORD
Configure port type
Use this attribute to classify traffic based on layer 4 source port or destination port
Attribute Name: port-type
Attribute Type: enum (source-port|destination-port)
Attribute Name: port
Attribute Type: string
Attribute Range: 1-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<ipv4>
<layer4-match> <!-- operation="delete"-->
<port-type>source-port</port-type>
<config>
<port-type>source-port</port-type>
<protocol>any</protocol>
<port>WORD</port>
</config>
<protocol>any</protocol>
</layer4-match>
</ipv4>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match layer4 (any|tcp|udp) (source-port|destination-port) WORD
Configure protocol
Use this attribute to classify traffic based on layer 4 source port or destination port
This command is supported when following feature are enabled QoS custom options2
Attribute Name: port-type
Attribute Type: enum (source-port|destination-port)
Attribute Name: port
Attribute Type: string
Attribute Range: 1-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-any-conditions>
<ipv6>
<layer4-match> <!-- operation="delete"-->
<port-type>source-port</port-type>
<config>
<port-type>source-port</port-type>
<protocol>any</protocol>
<port>WORD</port>
</config>
<protocol>any</protocol>
</layer4-match>
</ipv6>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 layer4 (any|tcp|udp) (source-port|destination-port) WORD
Configure ethertype all
Use this attribute to classify traffic based on the EtherType value
Attribute Name: ethertype-all
Attribute Type: string
Attribute Range: 5-6
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<ethertype-all>WORD</ethertype-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ethertype WORD
Configure traffic type all
Use this attribute to classify traffic based on the traffic type
Attribute Name: traffic-type-all
Attribute Type: enum (l2-mc|l2-bc|default|l2-unknown)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<traffic-type-all>l2-mc</traffic-type-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match traffic-type (l2-mc|l2-bc|default|l2-unknown)
Configure cos all
Use this attribute to classify traffic based on the Class of Service (CoS) value
Attribute Name: cos-all
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<cos-all>0</cos-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match cos <0-7>
Configure inner cos all
Use this attribute to classify traffic based on the inner Class of Service (CoS) value
Attribute Name: inner-cos-all
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<inner-cos-all>0</inner-cos-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match cos inner <0-7>
Configure vlan all
Use this attribute to classify traffic based on the VLAN ID
Attribute Name: vlan-all
Attribute Type: uint16
Attribute Range: 1-4094
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<vlan-all>1</vlan-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match vlan <1-4094>
Configure inner vlan all
Use this attribute to classify traffic based on the inner VLAN ID
Attribute Name: inner-vlan-all
Attribute Type: uint16
Attribute Range: 1-4094
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<inner-vlan-all>1</inner-vlan-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match vlan inner <1-4094>
Configure rtp all
Use this attribute to classify traffic based on the Real-time Transport Protocol (RTP)
Attribute Name: rtp-all
Attribute Type: uint32
Attribute Range: 2000-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<rtp-all>2000</rtp-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ip rtp <2000-65535>
Configure mpls exp all
Use this attribute to classify traffic based on the MPLS experimental (EXP) value
Attribute Name: mpls-exp-all
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<mpls-exp-all>0</mpls-exp-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mpls experimental topmost <0-7>
Configure dscp all
Use this attribute to classify traffic based on the Differentiated Services Control Protocol (DSCP) value. The DSCP value range is 0-63. Warning: In CLI show running, DSCP values with well-known names (ex.: af11, cs0) will be displayed as such. On Netconf, DSCP values will always be numeric. The string type allow up to 8 characters on well-known name.
Attribute Name: dscp-all
Attribute Type: string
Attribute Range: 1-8
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<dscp-all>WORD</dscp-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match dscp WORD
Configure ipv6 dscp all
Use this attribute to classify traffic based on the Differentiated Services Control Protocol (DSCP) value upon IPv6 packet. The DSCP value range is 0-63. Warning: In CLI show running, DSCP values with well-known names (ex.: af11, cs0) will be displayed as such. On Netconf, DSCP values will always be numeric. The string type allow up to 8 characters on well-known name.
Attribute Name: ipv6-dscp-all
Attribute Type: string
Attribute Range: 1-8
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<ipv6-dscp-all>WORD</ipv6-dscp-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 dscp WORD
Configure precedence all
Use this attribute to classify traffic based on the precedence value. The precedence value range is 0-7. Warning: In CLI show running, precedence values with well-known names (ex.: priority, immediate) will be displayed as such. On Netconf, precedence values will always be numeric. The string type allow up to 13 characters on well-known name.
Attribute Name: precedence-all
Attribute Type: string
Attribute Range: 1-13
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<precedence-all>WORD</precedence-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match precedence WORD
Configure ipv6 precedence all
Use this attribute to classify traffic based on the precedence value upon IPv6 packet. The precedence value range is 0-7. Warning: In CLI show running, precedence values with well-known names (ex.: priority, immediate) will be displayed as such. On Netconf, precedence values will always be numeric. The string type allow up to 13 characters on well-known name.
Attribute Name: ipv6-precedence-all
Attribute Type: string
Attribute Range: 1-13
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<config>
<ipv6-precedence-all>WORD</ipv6-precedence-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 precedence WORD
Configure port all
Use this attribute to classify traffic based on the port
Attribute Name: port-all
Attribute Type: uint16
Attribute Range: 1-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<layer4-matches-ipv4>
<layer4-match-ipv4> <!-- operation="delete"-->
<port-all>1</port-all>
<config>
<port-all>1</port-all>
<port-type-all>source-port</port-type-all>
<protocol-all>any</protocol-all>
</config>
<port-type-all>source-port</port-type-all>
<protocol-all>any</protocol-all>
</layer4-match-ipv4>
</layer4-matches-ipv4>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match layer4 (any|tcp|udp) (source-port|destination-port) <1-65535>
Configure protocol all
Use this attribute to classify traffic based on the port
This command is supported when following feature are enabled QoS custom options2
Attribute Name: port-all
Attribute Type: uint16
Attribute Range: 1-65535
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps>
<class-map>
<name>NAME</name>
<config>
<name>NAME</name>
</config>
<match-all-conditions>
<layer4-matches-ipv6>
<layer4-match-ipv6> <!-- operation="delete"-->
<port-all>1</port-all>
<config>
<port-all>1</port-all>
<port-type-all>source-port</port-type-all>
<protocol-all>any</protocol-all>
</config>
<port-type-all>source-port</port-type-all>
<protocol-all>any</protocol-all>
</layer4-match-ipv6>
</layer4-matches-ipv6>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match ipv6 layer4 (any|tcp|udp) (source-port|destination-port) <1-65535>
Configure vlan queue
Use this attribute to classify traffic based on the VLAN ID
Attribute Name: vlan-queue
Attribute Type: uint16
Attribute Range: 1-4094
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps-queuing>
<class-map-queuing>
<name>WORD</name>
<config>
<name>NAME</name>
</config>
<match-conditions>
<config>
<vlan-queue>1</vlan-queue> <!-- operation="delete"-->
</config>
</match-conditions>
</class-map-queuing>
</class-maps-queuing>
</global>
</qos>
Command Syntax
match vlan <1-4094>
Configure queue
Use this attribute to classify traffic based on queue value
Attribute Name: queue
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps-queuing>
<class-map-queuing>
<name>WORD</name>
<config>
<name>NAME</name>
</config>
<match-conditions>
<config>
<queue>0</queue> <!-- operation="delete"-->
</config>
</match-conditions>
</class-map-queuing>
</class-maps-queuing>
</global>
</qos>
Command Syntax
match queue <0-7>
Configure service template name
Use this attribute to classify traffic based on service template
Attribute Name: service-template-name
Attribute Type: string
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps-queuing>
<class-map-queuing>
<name>WORD</name>
<config>
<name>NAME</name>
</config>
<match-conditions>
<config>
<service-template-name>NAME</service-template-name> <!-- operation="delete"-->
</config>
</match-conditions>
</class-map-queuing>
</class-maps-queuing>
</global>
</qos>
Command Syntax
match service-template NAME
Configure interface
Use this attribute to classify traffic based on the subinterface or vlan interface name
Attribute Name: interface
Attribute Type: string
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<class-maps-queuing>
<class-map-queuing>
<name>WORD</name>
<config>
<name>NAME</name>
</config>
<match-conditions>
<config>
<interface>IFNAME</interface> <!-- operation="delete"-->
</config>
</match-conditions>
</class-map-queuing>
</class-maps-queuing>
</global>
</qos>
Command Syntax
match interface IFNAME
Configure policy map name
Use this attribute to set the policy-map name
Attribute Name: policy-map-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: type
Attribute Type: enum (qos|queuing|queuing default)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map> <!-- operation="delete"-->
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
<type>1</type>
</config>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
policy-map NAME
Configure class map name
Use this attribute to attach a class-map of type qos or queue to the policy-map
Attribute Name: class-map-name
Attribute Type: union
Attribute Name: type
Attribute Type: enum (qos|queuing|queuing default)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class> <!-- operation="delete"-->
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
<type>qos</type>
</config>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
class (type (qos)|) NAME
Configure child service policy name
Use this attribute to attach a child service-policy to the policy-map
Attribute Name: child-service-policy-name
Attribute Type: string
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<child-service-policy-name>NAME</child-service-policy-name> <!-- operation="delete"-->
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
service-policy NAME
Configure byte compensation
Use this attribute to set the compensation used to adjust this byte difference in order to achieve the expected egress queue rate.
Attribute Name: byte-compensation
Attribute Type: int8
Attribute Range: -64-64
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<config>
<byte-compensation>-64</byte-compensation> <!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
compensation <-64-64>
Configure delay tolerance
Use this attribute to set the low delay tolerance profile.
Attribute Name: delay-tolerance
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<config>
</delay-tolerance><!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
low-delay-tolerance-profile
Configure priority level
Use this attribute to set the class traffic level for Priority queue scheduling algorithm
Attribute Name: priority-level
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<config>
<priority-level>0</priority-level> <!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
priority level <0-7>
Configure weighted fair queueing queue weight
Use this attribute to set the weight for Weighted Fair Queueing queue scheduling algorithm
Attribute Name: weighted-fair-queueing-queue-weight
Attribute Type: uint8
Attribute Range: 1-63
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<config>
<weighted-fair-queueing-queue-weight>1</weighted-fair-queueing-queue-weight> <!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
wfq-queue weight <1-63>
Configure weight
Use this attribute to set weight for Weighted Random Early Detection
Attribute Name: weight
Attribute Type: uint8
Attribute Range: 0-31
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<red>
<config>
<weight>0</weight> <!-- operation="delete"-->
</config>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect weight <0-31>
Configure min threshold
Use this attribute to set Weighted Random Early Detection color. Default value is 3.
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: min-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: max-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<red>
<wreds>
<wred> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<min-threshold>1</min-threshold>
<min-threshold-unit>packets</min-threshold-unit>
<max-threshold>1</max-threshold>
<max-threshold-unit>packets</max-threshold-unit>
<drop-probability>1</drop-probability>
</config>
</wred>
</wreds>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect ((green|yellow|red|all)|) <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) (drop-probability <1-100>|)
Configure min threshold unit
Use this attribute to set Weighted Random Early Detection color. Default value is 3.
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: min-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: max-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<red>
<wreds>
<wred> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<min-threshold>1</min-threshold>
<min-threshold-unit>packets</min-threshold-unit>
<max-threshold>1</max-threshold>
<max-threshold-unit>packets</max-threshold-unit>
<drop-probability>1</drop-probability>
</config>
</wred>
</wreds>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect ((green|yellow|red|all)|) min-threshold <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) max-threshold <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) (drop-probability <1-100>|)
Configure max threshold
Use this attribute to set Weighted Random Early Detection color. Default value is 3.
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: min-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: max-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<red>
<wreds>
<wred> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<min-threshold>1</min-threshold>
<min-threshold-unit>packets</min-threshold-unit>
<max-threshold>1</max-threshold>
<max-threshold-unit>packets</max-threshold-unit>
<drop-probability>1</drop-probability>
</config>
</wred>
</wreds>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect ((green|yellow|red|all)|) <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) max-threshold <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) (drop-probability <1-100>|)
Configure max threshold unit
Use this attribute to set Weighted Random Early Detection color. Default value is 3.
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: min-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-629145600
Attribute Name: max-threshold-unit
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<red>
<wreds>
<wred> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<min-threshold>1</min-threshold>
<min-threshold-unit>packets</min-threshold-unit>
<max-threshold>1</max-threshold>
<max-threshold-unit>packets</max-threshold-unit>
<drop-probability>1</drop-probability>
</config>
</wred>
</wreds>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect ((green|yellow|red|all)|) min-threshold <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) <1-629145600> (packets|bytes|kbytes|mbytes|ms|us) (drop-probability <1-100>|)
Configure max threshold type
Use this attribute to set tail drop limits on egress queue
Attribute Name: max-threshold-type
Attribute Type: enum (packets|bytes|kbytes|mbytes|ms|us)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<tail-drops>
<tail-drop> <!-- operation="delete"-->
<max-threshold-type>packets</max-threshold-type>
<config>
<max-threshold-type>packets</max-threshold-type>
<max-threshold>1</max-threshold>
</config>
<max-threshold>1</max-threshold>
</tail-drop>
</tail-drops>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
queue-limit <1-629145600> (packets|bytes|kbytes|mbytes|ms|us)
Configure rate value
Use this attribute to set a maximum shaping rate on the egress queue
Attribute Name: rate-value
Attribute Type: uint32
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<shapes>
<shape> <!-- operation="delete"-->
<rate-unit>kbps</rate-unit>
<config>
<rate-unit>kbps</rate-unit>
<rate-value>0</rate-value>
</config>
<rate-value>0</rate-value>
</shape>
</shapes>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
shape <1-483000000> (kbps|mbps|gbps)
Configure rate unit
Use this attribute to set a maximum shaping rate on the egress queue
Attribute Name: rate-value
Attribute Type: uint32
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<queue-mode>
<shapes>
<shape> <!-- operation="delete"-->
<rate-unit>kbps</rate-unit>
<config>
<rate-unit>kbps</rate-unit>
<rate-value>0</rate-value>
</config>
<rate-value>0</rate-value>
</shape>
</shapes>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
shape (percent) <1-100>
Configure priority
Use this attribute to set the user priority for the class attached to this policy-map
Attribute Name: priority
Attribute Type: uint16
Attribute Range: 1-1000
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<config>
<priority>1</priority> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
priority <1-1000>
Configure precedence remark
Use this attribute to match traffic classes set action as change precedence in the egress packet to the defined value. The precedence value range is 0-7. Warning: In CLI show running, precedence values with well-known names (ex.: priority, immediate) will be displayed as such. On Netconf, precedence values will always be numeric. The string type allow up to 13 characters on well-known name.
Attribute Name: precedence-remark
Attribute Type: string
Attribute Range: 1-13
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<config>
<precedence-remark>WORD</precedence-remark> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
set precedence WORD
Configure dscp value remark
Use this attribute to match traffic classes set action as change DSCP in the egress packet to the defined value. The DSCP value range is 0-63. Warning: In CLI show running, DSCP values with well-known names (ex.: af11, cs0) will be displayed as such. On Netconf, DSCP values will always be numeric. The string type allow up to 8 characters on well-known name.
Attribute Name: dscp-value-remark
Attribute Type: string
Attribute Range: 1-8
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<config>
<dscp-value-remark>WORD</dscp-value-remark> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
set dscp WORD
Configure cir
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir <1-720000000> (kbps|mbps|gbps)
Configure cir unit
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir percent <1-100>
Configure eir
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir <1-720000000> (kbps|mbps|gbps) eir <1-720000000> (kbps|mbps|gbps)
Configure eir unit
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir percent <1-100> eir <1-720000000> (kbps|mbps|gbps)
Configure bc
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: bc
Attribute Type: uint64
Attribute Range: 1-4161
Attribute Name: bc-unit
Attribute Type: enum (none|kbytes|mbytes|ms|us)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<bc>1</bc> <!-- operation="delete"-->
<bc-unit>none</bc-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir <1-720000000> (kbps|mbps|gbps) eir <1-720000000> (kbps|mbps|gbps) bc <1-4161> (kbytes|mbytes|ms|us)
Configure bc unit
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: bc
Attribute Type: uint64
Attribute Range: 1-4161
Attribute Name: bc-unit
Attribute Type: enum (none|kbytes|mbytes|ms|us)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<bc>1</bc> <!-- operation="delete"-->
<bc-unit>none</bc-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir percent <1-100> eir <1-720000000> (kbps|mbps|gbps) bc <1-4161> (kbytes|mbytes|ms|us)
Configure be
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: be
Attribute Type: uint32
Attribute Range: 1-4161
Attribute Name: be-unit
Attribute Type: enum (none|kbytes|mbytes|ms|us)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<be>1</be> <!-- operation="delete"-->
<be-unit>none</be-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir <1-720000000> (kbps|mbps|gbps) eir <1-720000000> (kbps|mbps|gbps) be <1-4161> (kbytes|mbytes|ms|us)
Configure be unit
Use this attribute to set a Committed Information Rate. Default value is 1.
Attribute Name: cir
Attribute Type: uint64
Attribute Name: type
Attribute Type: enum (none|colour-blind|colour-aware)
Attribute Name: cir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: eir
Attribute Type: uint64
Attribute Range: 1-720000000
Attribute Name: eir-unit
Attribute Type: enum (kbps|mbps|gbps|percent)
Attribute Name: be
Attribute Type: uint32
Attribute Range: 1-4161
Attribute Name: be-unit
Attribute Type: enum (none|kbytes|mbytes|ms|us)
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<policy-maps>
<policy-map>
<policy-map-name>NAME</policy-map-name>
<config>
<policy-map-name>NAME</policy-map-name>
</config>
<classes>
<class>
<class-map-name>NAME</class-map-name>
<config>
<class-map-name>NAME</class-map-name>
</config>
<qos-mode>
<police>
<config>
<type>none</type> <!-- operation="delete"-->
<cir-unit>kbps</cir-unit> <!-- operation="delete"-->
<eir>1</eir> <!-- operation="delete"-->
<eir-unit>kbps</eir-unit> <!-- operation="delete"-->
<be>1</be> <!-- operation="delete"-->
<be-unit>none</be-unit> <!-- operation="delete"-->
<cir>1</cir> <!-- operation="delete"-->
</config>
</police>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
police ((colour-blind|colour-aware)|) cir percent <1-100> eir <1-720000000> (kbps|mbps|gbps) be <1-4161> (kbytes|mbytes|ms|us)
clear qos statistics (interface IFNAME|) ((type qos|type qos input|type qos output|type queuing|type all)|)
Attribute Name: interface-name
Attribute Type: string
Default Value: NULL
Attribute Name: type
Attribute Type: enum (type qos|type qos input|type qos output|type queuing|type all)
Default Value: type all
Netconf RPC payload
<qos-clear-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<interface-name>IFNAME</interface-name>
<type>type all</type>
</qos-clear-statistics>
Command Syntax
clear qos statistics (interface IFNAME|) ((type qos|type qos input|type qos output|type queuing|type all)|)
Last modified date: 08/22/2023