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

Page 488

Advertising
background image

456

Network OS NETCONF Operations Guide

53-1003231-02

Data Center Bridging map configuration

29

The following example creates a CEE map named “default.”

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

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

</cee-map>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Defining a priority group table

To define a priority group table, 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, include the <name> element and set its value to “default,” which

is the name of the CEE map.

3. Under the <cee-map> node, include the <priority-group-table> node once for each priority

group ID (PGID).

4. Under each <priority-group-table> node, include the PGID, configure the bandwidth for the

priority group by associating a weight with a DWRR scheduler queue, and enable priority-based
flow control (PFC).

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

The following example defines two priority groups, assigns 50% bandwidth to each, enables PFC for
the first priority group, and disables PFC for the second priority group.

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

<rpc message-id="2337" 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-group-table>

<PGID>0</PGID>

<weight>50</weight>

<pfc>on</pfc>

</priority-group-table>

<priority-group-table>

<PGID>1</PGID>

<weight>50</weight>

<pfc>off</pfc>

Advertising