beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 470

background image

438

Network OS NETCONF Operations Guide

53-1003231-02

Queueing

29

To map a CoS to a Traffic-Class, perform the following steps.

1. Issue the RPC to configure the node in the

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

2. Under the node, include the node element.

3. Under the node, include the node element.

4. Under the node, include the following leaf elements.

a. In the element, give a name to the map.

b. In each successive n> element, set a traffic-class value for each outbound CoS class.

For example, the following element maps a traffic class value of 3 for all packets with
outbound CoS value of 3.

3

5. Issue the RPC to save the running-config file to the startup-config file.

The following example specifies a CoS-to-traffic-class mapping for a map named “test.”

test

1

0

2

3

4

5

6

7

Applying a CoS-to-Traffic-Class mapping to an interface

To apply a CoS-to-traffic class mapping, perform the following steps.

1. Issue the RPC to configure the node in the

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

2. Under the node, include the , ,

, , or node element.