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

236
Network OS NETCONF Operations Guide
53-1003231-02
Configuring edge-loop detection
18
For each interface on which ELD runs, enable the edge-loop detection protocol to enable ELD. You
must also specify the ELD-port priority.
Global-level ELD configuration variables are defined in the brocade-eld module. Interface-level ELD
configuration variables are defined in the brocade-interface module. Refer to the Network OS YANG
Reference Manual for information about these modules.
Setting global ELD for a Brocade VCS fabric cluster
Perform this procedure on every Brocade VCS Fabric cluster where you configure ELD.
To configure global ELD parameters, connect to any switch in a Brocade VCS Fabric cluster, and
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 <edge-loop-detection> node element located in the
urn:brocade.com:mgmt:brocade-eld namespace to enable the edge-loop-detection protocol.
3. Under the <edge-loop-detection> node, include the following leaf elements:
a. In the <pdu-rx-limit> element, set the number of PDUs that will be received before
breaking the loop.
The value must be in the range1 through 5. The default value is 1.
b. In the <hello-interval> element, set the interval in milliseconds between PDUs.
The value must be an integer in the range 100 through 5,000. The default value is 1,000.
c. In the <shutdown-time> element, set the number of minutes after which the port is
re-enabled.
The value must be 0 through 1440 (0 minutes through 24 hours). The default value is 0,
indicating that the port is not automatically re-enabled.
The following example configures the Brocade VCS Fabric cluster to detect and break loops on
receipt of 5 PDUs. Because the PDU interval is set to 2000 ms (2 seconds), any loop breaks after
10 seconds. The selected port will remain disabled for 24 hours, after which it is automatically
re-enabled.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="800" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<edge-loop-detection xmlns=”urn:brocade.com:mgmt:brocade-eld”>
<pdu-rx-limit>5</pdu-rx-limit>
<hello-interval>2000</hello-interval>
<shutdown-time>1440</shutdown-time>
</edge-loop-detection>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="800" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>