Verifying dscp mutation mapping – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 464

Advertising
background image

432

Network OS NETCONF Operations Guide

53-1003231-02

Queueing

29

<qos xmlns="urn:brocade.com:mgmt:brocade-qos">

<dscp-mutation>test</dscp-mutation>

<trust>

<trust-dscp/>

</trust>

</qos>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="2311" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Verifying DSCP mutation mapping

To verify a DSCP mutation mapping, issue the <get-config> RPC to retrieve the DSCP mutation QoS
map and the interface names to which a map is bound.

1. Verify a DSCP mutation QoS map using a subtree filter to view only the contents of the

<qos>/<map>/<dscp-mutation> 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 mutation QoS map for a map named “test.”

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="2312" 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-mutation>

<dscp-mutation-map-name>test</dscp-mutation-map-name>

</dscp-mutation>

</map>

</qos>

</filter>

</get-config>

</rpc>

<rpc-reply message-id="2312" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<qos xmlns="urn:brocade.com:mgmt:brocade-qos">

<map>

<dscp-mutation>

<name>test</name>

<dscp-mutation-map-name>test</dscp-mutation-map-name>

<mark>

<dscp-in-values>1,3,5,7</dscp-in-values>

<to>9</to>

</mark>

<mark>

<dscp-in-values>11,13,15,17</dscp-in-values>

<to>19</to>

</mark>

<mark>

Advertising