Defining a priority-table map – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 489

Advertising
background image

Network OS NETCONF Operations Guide

457

53-1003231-02

Data Center Bridging map configuration

29

</priority-group-table>

</cee-map>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Defining a priority-table map

To define a priority-table map, perform the following steps.

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

urn:brocade.com:mgmt:brocade-cee-map namespace.

2. Under the <cee-map> node, identify the CEE map in the <name> element.

The only value map name is “default.”

3. Under the <cee-map> node, include the <priority-table> node.

4. Under the <priority-table> node, include a <map-cosn-pgid> element for each Class of Service,

and set the value of the element to the ID of the priority group table to which you want to map
the Class of Service.

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

The following example maps CoS 0 through CoS 2 and CoS 4 through CoS 6 to PGID 1, CoS 3 to
PGID 0, and CoS 7 to PGID 15.0.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<name>default</name>

<priority-table>

<map-cos0-pgid>1</map-cos0-pgid>

<map-cos1-pgid>1</map-cos1-pgid>

<map-cos2-pgid>1</map-cos2-pgid>

<map-cos3-pgid>0</map-cos3-pgid>

<map-cos4-pgid>1</map-cos4-pgid>

<map-cos5-pgid>1</map-cos5-pgid>

<map-cos6-pgid>1</map-cos6-pgid>

<map-cos7-pgid>15.0</map-cos7-pgid>

</priority-table>

</cee-map>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising