Configuring user-priority mappings, Creating a cos-to-cos mutation qos map – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 456

Advertising
background image

424

Network OS NETCONF Operations Guide

53-1003231-02

Queueing

29

</interface>

</rpc>

Configuring user-priority mappings

To configure user-priority mappings, 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 <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node element.

3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> node, include the <name> element and set its
value to the name of the interface for which you want to configure user-priority mappings.

4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> node, include the <qos> element located in the
urn:brocade.com:mgmt:brocade-qos namespace.

5. Under the <qos> node, to set the user-priority mapping, include the <default-cos> element,

and set its value to the desired priority.

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

The following example sets the user priority mapping to 3 on 10-gigabit interface 22/0/2.

<rpc message-id="2303" 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>

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

<default-cos>3</default-cos>

</qos>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Creating a CoS-to-CoS mutation QoS map

To create a CoS-to-CoS mutation QoS map, 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 <cos-mutation> node element.

Advertising