Verifying a dscp-to-cos mutation map – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 468

Advertising
background image

436

Network OS NETCONF Operations Guide

53-1003231-02

Queueing

29

</rpc>

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

<ok/>

</rpc-reply>

Verifying a DSCP-to-CoS mutation map

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

1. Verify a DSCP-to-CoS map using a subtree filter to view only the contents of the

<qos>/<map>/<dscp-cos> 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="2316" 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-cos>

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

</dscp-cos>

</map>

</qos>

</filter>

</get-config>

</rpc>

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

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

<map>

<dscp-cos>

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

<mark>

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

<to>3</to>

</mark>

<mark>

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

<to>5</to>

</mark>

<mark>

<dscp-in-values>12,14,16,18</dscp-in-values>

<to>6</to>

</mark>

<mark>

<dscp-in-values>2,4,6,8</dscp-in-values>

<to>7</to>

</mark>

</dscp-cos>

</map>

</qos>

</rpc-reply>

Advertising