Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 474

442
Network OS NETCONF Operations Guide
53-1003231-02
Queueing
29
<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>
<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-traffic-class>
</map>
</qos>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2322" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Applying DSCP-to-Traffic-Class mapping to an interface
To apply a CoS-to-Traffic Class mapping to an interface, 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 the <hundredgigabitethernet>, <fortygigabitethernet>,
<tengigabitethernet>, <gigabitethernet>, or <port-channel> node element.
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node, include the interface on which you want to
activate the mapping in the <name> leaf element.
4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node, include the <qos> node element from the
urn:brocade.com:mgmt:brocade-qos namespace.
5. Under the <qos> node, include the <dscp-traffic-class> element, and specify the name of the
DSCP-to-Traffic-class map you want to activate.
6. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.
The following example activates a CoS-to-Traffic-Class mapping on 10-gigabit Ethernet interface
22/0/2.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2323" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>