protocol/loop-detection

Configures, modifies, or retrieves Global Loop Detection configuration.

Resource URIs

URI Description
<base_URI>/config/running/protocol/loop-detection Configures, modifies, or retrieves Global Loop Detection configuration.
GET URIs Description
<base_URI>/config/running/protocol/loop-detection Displays the Loop-Detection information.
<base_URI>/config/running/protocol/loop-detection/hello-interval Displays the Hello Interval.
<base_URI>/config/running/protocol/loop-detection/shutdown-time Displays the Shutdown Time.
<base_URI>/config/running/protocol/loop-detection/raslog-duration Displays the interval between Raslogs.
PATCH URIs Payload Description
<base_URI>/config/running/protocol/loop-detection <loop-detection><hello-interval>{uint32}</hello-interval></loop-detection> Sets the Hello Interval globally.
<base_URI>/config/running/protocol/loop-detection <loop-detection><shutdown-time>{uint32}</shutdown-time></loop-detection> Sets the Shutdown Time globally.
<base_URI>/config/running/protocol/loop-detection <loop-detection><raslog-duration>{uint32}</raslog-duration></loop-detection> Sets interval between raslogs.
PUT URIs Payload Description
<base_URI>/config/running/protocol/loop-detection/hello-interval <hello-interval>{uint32}</hello-interval> Sets the Hello Interval globally.
<base_URI>/config/running/protocol/loop-detection/shutdown-time <shutdown-time>{uint32}</shutdown-time> Sets the Shutdown Time globally.
<base_URI>/config/running/protocol/loop-detection/raslog-duration <raslog-duration>{uint32}</raslog-duration> Sets interval between Raslogs.
DELETE URIs
<base_URI>/config/running/protocol/loop-detection

Parameters

hello-interval
The rate, in milliseonds, at which the Loop Detection (LD) PDUs are transmitted by an LD-enabled interface/VLAN. Range 100 - 5000 ms. Default is 1000 ms.
shutdown-time
The time duration, in minutes, after which the interface that got shutdown by Loop Detection protocol gets re-enabled automatically. Range 0 - 1440 minutes. Default is 0.
raslog-duration
The interval, in minutes, between raslogs when port is shutdown disabled for loop detection in order to avoid raslog flooding. Range 10 - 1440 minutes. Default is 10.

Usage Guidelines

GET, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/protocol/loop-detection

None

<loop-detection xmlns="urn:brocade.com:mgmt:brocade-eld" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/protocol/loop-detection">
  <hello-interval>101</hello-interval>
  <shutdown-time>4</shutdown-time>
  <raslog-duration>30</raslog-duration>
</loop-detection>

URI

The following example uses the PATCH option to update the hello-interval attribute.

http://host:80/rest/config/running/protocol/loop-detection

<loop-detection><hello-interval>101</hello-interval></loop-detection>
<loop-detection xmlns="urn:brocade.com:mgmt:brocade-eld" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/protocol/loop-detection">
  <hello-interval>101</hello-interval>
  <shutdown-time>4</shutdown-time>
  <raslog-duration>30</raslog-duration>
</loop-detection>

URI

The following example uses the DELETE option to remove the loop detection configuration.

http://host:80/rest/config/running/protocol

None

None