Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 418

386
Network OS NETCONF Operations Guide
53-1003231-02
LACP configuration and management
26
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1011" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<lacp xmlns="urn:brocade.com:mgmt:brocade-lacp">
<system-priority>25000</system-priority>
</lacp>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1011" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring the LACP timeout period on a DCB interface
The LACP timeout period indicates how long LACP waits before timing out the neighboring device.
The short timeout period is 3 seconds and the long timeout period is 90 seconds. The default is
long.
To configure the LACP timeout period on a DCB interface, 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, specify the <gigabitethernet>, <tengigabitethernet>,
<fortygigabitethernet>, or <hundredgigabitethernet> node element.
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> node, specify the <name> element and set its value to the interface
name in [rbridge-id/]slot/port format.
4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> node, specify the <lacp> node, which resides in the
urn:brocade.com:mgmt:brocade-lacp namespace.
5. Under the <lacp> node, specify the <timeout> leaf element and set its value to either “short”
or “long”.
The following example sets the LACP timeout period to three seconds for the 1/0/1 interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1012" 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>1/0/1</name>
<lacp xmlns="urn:brocade.com:mgmt:brocade-lacp">
<timeout>short</timeout>
</lacp>
</tengigabitethernet>
</interface