Configures STP.
| URI | Description |
|---|---|
| <base_URI>/config/running/protocol/spanning-tree/stp | Configures STP. |
| GET URIs | Description |
|---|---|
| <base_URI>/config/running/protocol/spanning-tree/stp | Retrieves STP details. |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout | Retrieves error disable timeout. |
| <base_URI>/config/running/protocol/spanning-tree/stp/port-channel | Retrieves port channel details. |
| POST URIs | Payload | Description |
|---|---|---|
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout | <enable>(enumeration)</enable> | Enables error disable timeout. |
| <base_URI>/config/running/protocol/spanning-tree/stp | <shutdown>(enumeration)</shutdown> | Shuts down. |
| PATCH URIs | Payload | Description |
|---|---|---|
| <base_URI>/config/running/protocol/spanning-tree/stp/description | <description>(string)</description> | Configures STP description. |
| <base_URI>/config/running/protocol/spanning-tree/stp/bridge-priority | <bridge-priority>(unit32)</bridge-priority> | Configures bridge priority. |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout/enable | <enable>(enumeration)</enable> | Enables error disable timeout. |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout/interval | <interval>(unit32)</interval> | Configures error disable timeout interval. |
| <base_URI>/config/running/protocol/spanning-tree/stp/forward-delay | <forward-delay>(unit32)</forward-delay> | Configures forward delay. |
| <base_URI>/config/running/protocol/spanning-tree/stp/max-age | <max-age>(unit32)</max-age> | Configures max age. |
| <base_URI>/config/running/protocol/spanning-tree/stp/port-channel/path-cost | <path-cost>(enumeration)</path-cost> | Configures path cost. |
| <base_URI>/config/running/protocol/spanning-tree/stp/shutdown | <shutdown>(enumeration)</shutdown> | Shuts down. |
| <base_URI>/config/running/protocol/spanning-tree/stp/hello-time | <hello-time>(unit32)</hello-time> | Configures hello time. |
| PUT URIs | Payload | Description |
|---|---|---|
| <base_URI>/config/running/protocol/spanning-tree/stp/description | <description>(string)</description> | Configures STP description. |
| <base_URI>/config/running/protocol/spanning-tree/stp/bridge-priority | <bridge-priority>(unit32)</bridge-priority> | Configures bridge priority. |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout/enable | <enable>(enumeration)</enable> | Enables error disable timeout. |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout/interval | <interval>(unit32)</interval> | Configures error disable timeout interval. |
| <base_URI>/config/running/protocol/spanning-tree/stp/forward-delay | <forward-delay>(unit32)</forward-delay> | Configures forward delay. |
| <base_URI>/config/running/protocol/spanning-tree/stp/max-age | <max-age>(unit32)</max-age> | Configures max age. |
| <base_URI>/config/running/protocol/spanning-tree/stp/port-channel/path-cost | <path-cost>(enumeration)</path-cost> | Configures path cost. |
| <base_URI>/config/running/protocol/spanning-tree/stp/shutdown | <shutdown>(enumeration)</shutdown> | Shuts down. |
| <base_URI>/config/running/protocol/spanning-tree/stp/hello-time | <hello-time>(unit32)</hello-time> | Configures hello time. |
| DELETE URIs |
|---|
| <base_URI>/config/running/protocol/spanning-tree/stp/description |
| <base_URI>/config/running/protocol/spanning-tree/stp/bridge-priority |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout |
| <base_URI>/config/running/protocol/spanning-tree/stp/error-disable-timeout/interval |
| <base_URI>/config/running/protocol/spanning-tree/stp/forward-delay |
| <base_URI>/config/running/protocol/spanning-tree/stp/max-age |
| <base_URI>/config/running/protocol/spanning-tree/stp/port-channel/path-cost |
| <base_URI>/config/running/protocol/spanning-tree/stp/shutdown |
| <base_URI>/config/running/protocol/spanning-tree/stp/hello-time |
GET, POST, PATCH, PUT, DELETE, HEAD, and OPTIONS operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/protocol/spanning-tree/stp
None
<stp xmlns="urn:brocade.com:mgmt:brocade-xstp" xmlns:y="http://brocade.com/ns/rest"
y:self="/rest/config/running/protocol/spanning-tree/stp">
<hello-time>3</hello-time>
<forward-delay>14</forward-delay>
<max-age>19</max-age>
<bridge-priority>4096</bridge-priority>
<error-disable-timeout y:self="/rest/config/running/protocol/spanning-tree/stp/error-disable-timeout">
<enable>true</enable>
<interval>100</interval>
</error-disable-timeout>
<port-channel y:self="/rest/config/running/protocol/spanning-tree/stp/port-channel">
<path-cost>custom</path-cost>
</port-channel>
</stp>
The following example uses the POST option to enable error disable timeout.
http://host:80/rest/config/running/protocol/spanning-tree/stp/error-disable-timeout
<enable>enable</enable>
None
The following example uses the DELETE option to remove STP description.
http://host:80/rest/config/running/protocol/spanning-tree/stp/description
None
None