interface/{interface-type}/{interface-name}/loop-detection

Configures, modifies, or retrieves Interface Loop Detection configuration.

Resource URIs

URI Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection Configures, modifies, or retrieves Interface Loop Detection configuration details.
GET URIs Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection Displays the interface-level Loop-Detection information.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/shutdown-disable Displays
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/vlan Displays
PATCH URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection <loop-detection><shutdown-disable>true</shutdown-disable></loop-detection> Disables the shutting down of the interface by Loop Detection.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection <loop-detection><vlan>{ui32-vlan-range}</vlan></loop-detection> Configures the VLAN ID at interface level.
PUT URIs Payload Description
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/shutdown-disable <shutdown-disable>true</shutdown-disable> Disables the shutting down of the interface by Loop Detection.
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/vlan <vlan>{ui32-vlan-range}</vlan> Configures the VLAN ID at interface level.
DELETE URIs
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/shutdown-disable
<base_URI>/config/running/interface/{interface-type}/{interface-name}/loop-detection/vlan

Parameters

vlan
Identifies the VLAN. Range 1 - 4090.

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/interface/Ethernet/%220/44%22/loop-detection

None

<loop-detection xmlns="urn:brocade.com:mgmt:brocade-interface" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ethernet/%220/44%22/loop-detection">
  <shutdown-disable>true</shutdown-disable>
  <vlan>40</vlan>
</loop-detection>

URI

The following example uses the PUT option to disable the shutting down of the interface by Loop Detection.

http://host:80/rest/config/running/interface/Ethernet/%220/44%22/loop-detection/shutdown-disable

<shutdown-disable>true</shutdown-disable>

none