Verifying dscp-to-traffic-class mapping – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 475

Network OS NETCONF Operations Guide
443
53-1003231-02
Queueing
29
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/2</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<dscp-traffic-class>test</dscp-traffic-class>
</qos>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2323" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Verifying DSCP-to-Traffic-Class mapping
To verify a DSCP-to-Traffic-Class mapping, you can use one or both of the following options from
global configuration mode.
1. Verify a DSCP-traffic-class map using a subtree filter to view only the contents of the
<qos>/<map>/<dscp-traffic-class> node. To limit the returned information to a specific QoS
map, refine the content match node with the QoS map name.
The following example returns the DSCP-to-traffic class map named “test.”
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2324" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<map>
<dscp-traffic-class>
<dscp-traffic-class-map-name>test
</dscp-traffic-class-map-name>
</dscp-traffic-class>
</map>
</qos>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="2324" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<map>
<dscp-traffic-class>
<dscp-traffic-class-map-name>test</dscp-traffic-class-map-name>
<mark>
<dscp-in-values>1,3,5,7</dscp-in-values>
<to>3</to>
</mark>
<mark>