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

374
Network OS NETCONF Operations Guide
53-1003231-02
Configuring UDLD
25
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<udld xmlns="urn:brocade.com:mgmt:brocade-udld"/>
<hello>20</hello>
<multiplier>8</multiplier>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
2. Under the <interface> node, specify the <fortygigabitethernet>, <tengigabitethernet>, or
<gigabitethernet> node, include the <udld> node element from the
urn:brocade.com:mgmt:brocade-udld namespace to an enabled UDLD on an interface.
3. Under the <udld> node, enable UDLD for the port interface with the <udld-enable/> leaf
element to an enabled UDLD on an interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2407" 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>
<udld xmlns="urn:brocade.com:mgmt:brocade-udld">
<udld-enable/>
</udld>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2407" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
NOTE
When the UDLD protocol is enabled on one end of a link, the timeout period might elapse before the
UDLD protocol is enabled on the other end of the link. In this case, the link becomes temporarily
blocked. When the UDLD protocol is enabled at the other end of the link and a UDLD PDU is received,
UDLD automatically unblocks the link.