Applying a dscp mutation map to an interface – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 463

Advertising
background image

Network OS NETCONF Operations Guide

431

53-1003231-02

Queueing

29

<to>19</to>

</mark>

<mark>

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

<to>20</to>

</mark>

<mark>

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

<to>10</to>

</mark>

</dscp-mutation>

</map>

</qos>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Applying a DSCP mutation map to an interface

To apply a DSCP mutation QoS map, perform the following steps.

1. Issue the <edit-config> RPC to configure the <interface> node in the

urn:brocade.com:mgmt:brocade-interface namespace.

2. Under the <interface> node, include a node element to specify the interface type;

<gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, <hundredgigabitethernet>,
or <port-channel>.

3. Under the node element designating the interface type, include the <name> leaf element and

specify the name of the interface to which you want to apply the map.

4. Under the node element designating the interface type, include the <qos> node element,

which is located in the urn:brocade.com:mgmt:brocade-qos namespace.

5. Under the <qos> node, include the <dscp-mutation> leaf element and specify the DSCP

mutation QoS map to activate and apply changes made to the map.

6. Under the <qos> node, include the <trust> node element.

7. Under the <trust> node element, include the empty <trust-dscp> leaf element to specify the

trust mode for incoming traffic.

8. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.

The following example activates a map named “test” on 10-gigabit interface 22/0/2, and
establishes DSCP trust mode.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<tengigabitethernet>

<name>22/0/2</name>

Advertising