Configuring the hold time for receiving devices – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 427

Network OS NETCONF Operations Guide
395
53-1003231-02
Configuring LLDP global options
27
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1109" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<lldp xmlns="urn:brocade.com:mgmt:brocade-lldp">
<hello>45</hello>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1109" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring the hold time for receiving devices
This procedure configures the number of consecutive LLDP hello packets that can be missed
before declaring the neighbor information as invalid. The default value is 4. The valid range is 2
through 10.
To configure the hold time for receiving devices, perform the following steps.
1. Issue the <edit-config> RPC to configure the <protocol> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <protocol> node, include the <lldp> node element, which resides in the
urn:brocade.com:mgmt:brocade-lldp namespace.
3. Under the <lldp> node, include the <multiplier> leaf element, and set its value to the number
of consecutive packets that can be missed before declaring the neighbor information to be
invalid.
The following example configures the number of consecutive LLDP packets that can be missed
before declaring the neighbor information as invalid to 6 packets.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1110" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<lldp xmlns="urn:brocade.com:mgmt:brocade-lldp">
<multiplier>6</multiplier>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1110" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>