Configures, modifies, or retrieves VLAN-mode Loop Detection configuration.
URI | Description |
---|---|
<base_URI>/config/running/vlan/{vlan-name}/loop-detection | Configures, modifies, or retrieves VLAN-mode Loop Detection status. |
GET URIs | Description |
---|---|
<base_URI>/config/running/vlan/{vlan-name}/loop-detection | Displays VLAN-mode Loop Detection configuration details. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/vlan/{vlan-name} | <vlan><loop-detection>true</loop-detection></vlan> | Enables Loop Protection at the VLAN level. |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/vlan/{vlan-name}/loop-detection | <loop-detection>true</loop-detection> | Enables Loop Protection at the VLAN level. |
GET, PUT, PATCH, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the loop detection status.
http://host:80/rest/config/running/vlan/40/loop-detection
None
<loop-detection xmlns="urn:brocade.com:mgmt:brocade-interface" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/vlan/40/loop-detection">true</loop-detection>
The following example uses the PUT option to enable loop detection.
http://host:80/rest/config/running/vlan/40/loop-detection
<loop-detection>true</loop-detection>
none