Creating a dscp mutation map – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 462

Advertising
background image

430

Network OS NETCONF Operations Guide

53-1003231-02

Queueing

29

</trust>

</qos>

</tengigabitethernet>

</interface>

</rpc>

Creating a DSCP mutation map

NOTE

This feature is only supported on Brocade VDX 8770-4, VDX 8770-8, and later models.

To create a DSCP mutation and remap the incoming DSCP value of the ingress packet to other
DSCP values, perform the following steps.

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

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

2. Under the <qos> node, include the <map> node element.

3. Under the <map> node, include the <dscp-mutation> node element.

4. Under the <dscp-mutation> node, include the following elements.

a. In the <dscp-mutation-map-name> element, assign a name to the map.

b. A <mark> node element for each DSCP egress value.

5. Under each <mark> node, include the following leaf elements.

a. In the <dscp-in-values> element, list the DSCP values to be mapped to a single DSCP

value.

b. In the <to> element, specify the DSCP value.

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

The following example creates a DSCP mutation map named “test,” which performs the following
mapping of DSCP values:

DSCP values 1, 3, 5, and 7 are set to output as DSCP number 9.

DSCP values 11, 13, 15, and 17 are set to output as DSCP number 19.

DSCP values 12, 14, 16, and 18 are set to output as DSCP number 20

DSCP values 2, 4, 6, and 8 are set to output as DSCP number 10.

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<map>

<dscp-mutation>

<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>

Advertising