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 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 block size
Use this attribute to configure block-size for vlan-queuing
Attribute Name: block-size
Attribute Type: uint8
Default Value: 1
Attribute Range: 1-8
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<config>
<block-size>1</block-size> <!-- operation="delete"-->
</config>
</global>
</qos>
Command Syntax
qos vlan-queuing block-size <1-8>
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 color
Use this attribute to select the color CoS DEI is mapped to.
This command is supported when following feature are enabled QoS Mapping Profile feature and following feature are disabled QoS custom options2
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>
<cos-to-queue-profiles>
<cos-to-queue-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<cos-dei-to-queues>
<cos-dei-to-queue>
<dei-value>all</dei-value>
<config>
<dei-value>all</dei-value>
<cos-value>0</cos-value>
<queue-id>0</queue-id> <!-- operation="delete"-->
</config>
<cos-value>0</cos-value>
<color>green</color> <!-- operation="delete"-->
</cos-dei-to-queue>
</cos-dei-to-queues>
</cos-to-queue-profile>
</cos-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
cos <0-7> (dei (0|1|all)|) queue <0-7> (color (green|yellow|red)|)
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 queue id
Use this attribute to select the Traffic-Class DSCP is mapped to
This command is supported when following feature are enabled 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>
<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>
</config>
<queue-id>0</queue-id> <!-- 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>
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 exp value
Use this attribute to select the color mapped to.
This command is supported when following feature are enabled Diffserv feature,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>
<exp-to-queue-profiles>
<exp-to-queue-profile>
<profile-id>default</profile-id>
<config>
<profile-id>default</profile-id>
</config>
<exp-to-queues>
<exp-to-queue>
<exp-value>0</exp-value>
<config>
<exp-value>0</exp-value>
<queue-id>0</queue-id> <!-- operation="delete"-->
</config>
<color>green</color> <!-- operation="delete"-->
</exp-to-queue>
</exp-to-queues>
</exp-to-queue-profile>
</exp-to-queue-profiles>
</map-profile>
</global>
</qos>
Command Syntax
exp <0-7> queue <0-7> color (green|yellow|red)
Configure cos value
Use this attribute to select the color to map. Default value is 3.
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: color
Attribute Type: enum (green|yellow|red|all)
Attribute Name: cos-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>
<queue-color-to-cos-profiles>
<queue-color-to-cos-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<queue-color-to-coses>
<queue-color-to-cos> <!-- operation="delete"-->
<color>all</color>
<config>
<color>all</color>
<queue-id>0</queue-id>
<cos-value>0</cos-value>
</config>
<queue-id>0</queue-id>
</queue-color-to-cos>
</queue-color-to-coses>
</queue-color-to-cos-profile>
</queue-color-to-cos-profiles>
</map-profile>
</global>
</qos>
Command Syntax
queue <0-7> (color (green|yellow|red|all)|) cos <0-7>
Configure precedence value
Use this attribute to select the Traffic-Class to map
This command is supported when following feature are enabled QoS Mapping Profile feature
Attribute Name: queue-id
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: 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>
<queue-to-precedence-profiles>
<queue-to-precedence-profile>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<queue-to-precedences>
<queue-to-precedence> <!-- operation="delete"-->
<queue-id>0</queue-id>
<config>
<queue-id>0</queue-id>
<precedence-value>0</precedence-value>
</config>
</queue-to-precedence>
</queue-to-precedences>
</queue-to-precedence-profile>
</queue-to-precedence-profiles>
</map-profile>
</global>
</qos>
Command Syntax
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 dei
Use this command to enable remarking of DEI set by the egress map
Attribute Name: dei
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<remark>
<config>
</dei><!-- operation="delete"-->
</config>
</remark>
</global>
</qos>
Command Syntax
qos remark dei
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|vlan-queuing)
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|vlan-queuing)
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 traffic type
Use this attribute to classify traffic based on the traffic type value
Attribute Name: traffic-type
Attribute Type: enum (l2-uc|l2-uc-unknown|default)
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-uc</traffic-type> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match traffic-type (l2-uc|l2-uc-unknown|default)
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 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 packet protocol
Use this attribute to classify traffic based on the protocol
Attribute Name: packet-protocol
Attribute Type: enum (arp|bridging|cdp|clns|clns-es|clns-is|dhcp|isis|ldp|netbios)
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>
<packet-protocol>arp</packet-protocol> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match protocol (arp|bridging|cdp|clns|clns-es|clns-is|dhcp|isis|ldp|netbios)
Configure source mac
Use this attribute to classify traffic based on the source MAC address. The MAC address value allow up to 17 characters.
Attribute Name: source-mac
Attribute Type: string
Attribute Range: 1-17
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>
<source-mac>MAC_ADDR</source-mac> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mac src MAC_ADDR
Configure destination mac
Use this attribute to classify traffic based on the destination MAC address. The MAC address value allow up to 17 characters.
Attribute Name: destination-mac
Attribute Type: string
Attribute Range: 1-17
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>
<destination-mac>MAC_ADDR</destination-mac> <!-- operation="delete"-->
</config>
</match-any-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mac dest MAC_ADDR
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 traffic type all
Use this attribute to classify traffic based on the traffic type
Attribute Name: traffic-type-all
Attribute Type: enum (l2-uc|l2-uc-unknown|default)
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-uc</traffic-type-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match traffic-type (l2-uc|l2-uc-unknown|default)
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 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 packet protocol all
Use this attribute to classify traffic based on the protocol
Attribute Name: packet-protocol-all
Attribute Type: enum (arp|bridging|cdp|clns|clns-es|clns-is|dhcp|isis|ldp|netbios)
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>
<packet-protocol-all>arp</packet-protocol-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match protocol (arp|bridging|cdp|clns|clns-es|clns-is|dhcp|isis|ldp|netbios)
Configure source mac all
Use this attribute to classify traffic based on the source MAC address. The MAC address value allow up to 17 characters.
Attribute Name: source-mac-all
Attribute Type: string
Attribute Range: 1-17
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>
<source-mac-all>MAC_ADDR</source-mac-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mac src MAC_ADDR
Configure destination mac all
Use this attribute to classify traffic based on the destination MAC address. The MAC address value allow up to 17 characters.
Attribute Name: destination-mac-all
Attribute Type: string
Attribute Range: 1-17
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>
<destination-mac-all>MAC_ADDR</destination-mac-all> <!-- operation="delete"-->
</config>
</match-all-conditions>
</class-map>
</class-maps>
</global>
</qos>
Command Syntax
match mac dest MAC_ADDR
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 qos group
Use this attribute to classify traffic QoS group
Attribute Name: qos-group
Attribute Type: uint32
Attribute Range: 1-2000
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>
<qos-group>1</qos-group>
</config>
</match-conditions>
</class-map-queuing>
</class-maps-queuing>
</global>
</qos>
Command Syntax
match qos-group <1-2000>
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 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|vlan-queuing|hybrid-queuing)
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|vlan-queuing|hybrid-queuing)
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 lossless
Use this attribute to set the losselss setting for queue.
Attribute Name: lossless
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>
</lossless><!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
lossless
Configure weighted round robin queue weight
Use this attribute to set the weight for Weighted Round Robin queue scheduling algorithm
Attribute Name: weighted-round-robin-queue-weight
Attribute Type: uint8
Attribute Range: 1-127
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-round-robin-queue-weight>1</weighted-round-robin-queue-weight> <!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
wrr-queue weight <1-127>
Configure strict priority enabled
Use this attibute to set Strict Priority as queue scheduling algorithm
Attribute Name: strict-priority-enabled
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>
</strict-priority-enabled><!-- operation="delete"-->
</config>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
priority
Configure weight
Use this attribute to set weight for Weighted Random Early Detection
Attribute Name: weight
Attribute Type: uint8
Attribute Range: 0-15
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-15>
Configure min threshold
Use this attribute to set Weighted Random Early Detection minimum threshold
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: threshold-unit
Attribute Type: enum (packets|bytes|kbytes)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: explicit-congestion-notification
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>
<red>
<wred>
<config>
<max-threshold>1</max-threshold> <!-- operation="delete"-->
<threshold-unit>packets</threshold-unit> <!-- operation="delete"-->
<drop-probability>1</drop-probability> <!-- operation="delete"-->
</explicit-congestion-notification><!-- operation="delete"-->
<min-threshold>1</min-threshold> <!-- operation="delete"-->
</config>
</wred>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect <1-524288> <1-524288> (packets|bytes|kbytes) (drop-probability <1-100>|) (ecn|)
Configure max threshold
Use this attribute to set Weighted Random Early Detection minimum threshold
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: min-threshold-yellow
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold-yellow
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability-yellow
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: min-threshold-red
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold-red
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability-red
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: threshold-unit
Attribute Type: enum (packets|bytes|kbytes)
Attribute Name: explicit-congestion-notification
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>
<red>
<wred>
<config>
<max-threshold>1</max-threshold> <!-- operation="delete"-->
<drop-probability>1</drop-probability> <!-- operation="delete"-->
<min-threshold-yellow>1</min-threshold-yellow> <!-- operation="delete"-->
<max-threshold-yellow>1</max-threshold-yellow> <!-- operation="delete"-->
<drop-probability-yellow>1</drop-probability-yellow> <!-- operation="delete"-->
<min-threshold-red>1</min-threshold-red> <!-- operation="delete"-->
<max-threshold-red>1</max-threshold-red> <!-- operation="delete"-->
<drop-probability-red>1</drop-probability-red> <!-- operation="delete"-->
<threshold-unit>packets</threshold-unit> <!-- operation="delete"-->
</explicit-congestion-notification><!-- operation="delete"-->
<min-threshold>1</min-threshold> <!-- operation="delete"-->
</config>
</wred>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect green <1-524288> <1-524288> (drop-probability <1-100>|) yellow <1-524288> <1-524288> (drop-probability <1-100>|) red <1-524288> <1-524288> (drop-probability <1-100>|) (packets|bytes|kbytes) (ecn|)
Configure threshold unit
Use this attribute to set Weighted Random Early Detection minimum threshold
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: threshold-unit
Attribute Type: enum (packets|bytes|kbytes)
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: explicit-congestion-notification
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>
<red>
<wred>
<config>
<max-threshold>1</max-threshold> <!-- operation="delete"-->
<threshold-unit>packets</threshold-unit> <!-- operation="delete"-->
<drop-probability>1</drop-probability> <!-- operation="delete"-->
</explicit-congestion-notification><!-- operation="delete"-->
<min-threshold>1</min-threshold> <!-- operation="delete"-->
</config>
</wred>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect min-threshold <1-524288> max-threshold <1-524288> (packets|bytes|kbytes) (drop-probability <1-100>|) (ecn|)
Configure drop probability
Use this attribute to set Weighted Random Early Detection minimum threshold
Attribute Name: min-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: min-threshold-yellow
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold-yellow
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability-yellow
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: min-threshold-red
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: max-threshold-red
Attribute Type: uint32
Attribute Range: 1-524288
Attribute Name: drop-probability-red
Attribute Type: uint8
Attribute Range: 1-100
Attribute Name: threshold-unit
Attribute Type: enum (packets|bytes|kbytes)
Attribute Name: explicit-congestion-notification
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>
<red>
<wred>
<config>
<max-threshold>1</max-threshold> <!-- operation="delete"-->
<drop-probability>1</drop-probability> <!-- operation="delete"-->
<min-threshold-yellow>1</min-threshold-yellow> <!-- operation="delete"-->
<max-threshold-yellow>1</max-threshold-yellow> <!-- operation="delete"-->
<drop-probability-yellow>1</drop-probability-yellow> <!-- operation="delete"-->
<min-threshold-red>1</min-threshold-red> <!-- operation="delete"-->
<max-threshold-red>1</max-threshold-red> <!-- operation="delete"-->
<drop-probability-red>1</drop-probability-red> <!-- operation="delete"-->
<threshold-unit>packets</threshold-unit> <!-- operation="delete"-->
</explicit-congestion-notification><!-- operation="delete"-->
<min-threshold>1</min-threshold> <!-- operation="delete"-->
</config>
</wred>
</red>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
random-detect green min-threshold <1-524288> max-threshold <1-524288> (drop-probability <1-100>|) yellow min-threshold <1-524288> max-threshold <1-524288> (drop-probability <1-100>|) red min-threshold <1-524288> max-threshold <1-524288> (drop-probability <1-100>|) (packets|bytes|kbytes) (ecn|)
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)
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-524288> (packets|bytes|kbytes)
Configure rate value
Use this attribute to set a minimum bandwidth 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>
<bandwidths>
<bandwidth> <!-- operation="delete"-->
<rate-type>kbps</rate-type>
<config>
<rate-type>kbps</rate-type>
<rate-value>0</rate-value>
</config>
<rate-value>0</rate-value>
</bandwidth>
</bandwidths>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
bandwidth <1-1000000000> (kbps|mbps|gbps)
Configure rate type
Use this attribute to set a minimum bandwidth 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>
<bandwidths>
<bandwidth> <!-- operation="delete"-->
<rate-type>kbps</rate-type>
<config>
<rate-type>kbps</rate-type>
<rate-value>0</rate-value>
</config>
<rate-value>0</rate-value>
</bandwidth>
</bandwidths>
</queue-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
bandwidth (percent) <1-100>
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 <1-1000000000> (kbps|mbps|gbps)
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 cos remark only bridged
Use this attribute to enable remarking only bridged packets
Attribute Name: cos-remark-only-bridged
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>
<qos-mode>
<config>
<cos-remark-only-bridged>0</cos-remark-only-bridged> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
set bridge cos <0-7>
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 dscp remark only bridged
Use this attribute to enable remarking only bridged packets. 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-remark-only-bridged
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-remark-only-bridged>WORD</dscp-remark-only-bridged> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
set bridge dscp WORD
Configure queue remark only bridged
Use this attribute to enable remarking only bridged packets
Attribute Name: queue-remark-only-bridged
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>
<qos-mode>
<config>
<queue-remark-only-bridged>0</queue-remark-only-bridged> <!-- operation="delete"-->
</config>
</qos-mode>
</class>
</classes>
</policy-map>
</policy-maps>
</global>
</qos>
Command Syntax
set bridge queue <0-7>
Configure non unicast queue weight
Use this attribute to set action as change qos wrr weigth for non-uc queue in the egress to the defined value for matched packets
This command is supported when following feature are enabled QoS custom options1
Attribute Name: non-unicast-queue-weight
Attribute Type: uint8
Attribute Range: 1-127
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<scheduler-mode>
<weighted-round-robins>
<weighted-round-robin> <!-- operation="delete"-->
<non-unicast-queue-weight>1</non-unicast-queue-weight>
<config>
<non-unicast-queue-weight>1</non-unicast-queue-weight>
<unicast-queue-weight>1</unicast-queue-weight>
</config>
<unicast-queue-weight>1</unicast-queue-weight>
</weighted-round-robin>
</weighted-round-robins>
</scheduler-mode>
</global>
</qos>
Command Syntax
set qos wrr uc <1-127> non-uc <1-127>
Configure enabled
Use this attribute to set strict-priority for scheduler mode of L1 node to WRR
This command is supported when following feature are enabled QoS custom options1
Attribute Name: enabled
Attribute Type: empty
Netconf edit-config payload
<qos xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-qos">
<global>
<scheduler-mode>
<strict-priority>
<config>
</enabled><!-- operation="delete"-->
</config>
</strict-priority>
</scheduler-mode>
</global>
</qos>
Command Syntax
set qos sp
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: 07-14-2023