Ethernet pause, Enabling a red profile to use cos priority – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 480

448
Network OS NETCONF Operations Guide
53-1003231-02
Congestion control
29
Enabling a RED profile to use CoS priority
To map a CoS priority value on a per-port basis to the RED profile created under
on page 447, 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 a node element to specify the interface type;
<gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, <hundredgigabitethernet>,
or <port-channel>.
3. Under the node element designating the interface type, include the <name> leaf element and
specify the name of the interface on which you want to enable a RED profile.
4. Under the node element designating the interface type, include the <qos> node element,
which is located in the urn:brocade.com:mgmt:brocade-qos namespace.
5. Under the <qos> node, include the <random-detect>/<cos> hierarchy of node elements.
6. Under the <cos> node element, include the following leaf elements.
a. In the <red-cos-value> element, specify the CoS priority.
b. In the <red-profile-id> element, specify the ID of the RED profile you want to apply.
7. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.
The following example applies CoS priority 3 on port 22/0/2 to RED profile 10.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2329" 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">
<random-detect>
<cos>
<red-cos-value>3</red-cos-value>
<red-profile-id>10</red-profile-id>
</cos>
</random-detect>
</qos>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2329" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Ethernet Pause
This section provides procedures for configuring Ethernet Pause congestion control.