Enabling ethernet pause – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 481

Network OS NETCONF Operations Guide
449
53-1003231-02
Congestion control
29
Enabling Ethernet Pause
To enable Ethernet Pause, 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> leaf element and
specify the name in of the interface for which you want to enable Ethernet Pause
([rbridge-id/]slot/port format or port-channel number).
4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node, include the <qos> node element in the
urn:brocade.com:mgmt:brocade-qos namespace.
5. Under the <qos> node, include the <flowcontrol>/<link-level-flowcontrol> node element
hierarchy.
6. Under the <link-level-flowcontrol> node, include the <flowcontrol-tx> and <flowcontrol-rx>
elements, and set their values to “on” or “off,” as desired.
7. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.
The following example enables Ethernet Pause for transmit and receive directions on 10-gigabit
Ethernet interface 22/0/1.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2330" 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/1</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<flowcontrol>
<link-level-flowcontrol>
<flowcontrol-tx>on</flowcontrol-tx>
<flowcontrol-rx>on</flowcontrol-rx>
</link-level-flowcontrol>
</flowcontrol>
</qos>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2330" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>