Random early detection, Configuring red profiles – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 479

Advertising
background image

Network OS NETCONF Operations Guide

447

53-1003231-02

Congestion control

29

Random Early Detection

Procedures for configuring and applying Random Early Detection (RED) profiles follow. For
conceptual information about RED profiles and for operational considerations, refer to the Network
OS Administrator’s Guide
.

Configuring RED profiles

To configure an egress RED profile, 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 <red-profile> node element.

3. Under the <red-profile> node, include the following leaf elements.

a. In the <profile-id> field, specify an integer in the range 0 through 383 to uniquely identify

the RED profile.

b. In the <min-threshold> element, specify as a percentage the minimum threshold of queue

size below which no packet is dropped.

c. In the <max-threshold> element, specify as a percentage the maximum threshold of

queue size to stay under.

d. In the <drop-probability> element, specify as a percentage the probability that packets

should be dropped.

The higher the probability set, the more likely packets will be dropped when reaching the
minimum percentage.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<red-profile>

<profile-id>10

<min-threshold>10</min-threshold>

<max-threshold>80</max-threshold>

<drop-probability>80</drop-probability>

</red-profile>

</qos>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising