protocol/spanning-tree/rstp

Resource URIs

URI Description
<base_URI>/config/running/protocol/spanning-tree/rstp Configures RSTP.
GET URIs Description
<base_URI>/config/running/protocol/spanning-tree/rstp Retrieves RSTP.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout Retrieves error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/rstp/port-channel Retrieves RSTP on port channel.
POST URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree <rstp></rstp> Configures RSTP.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout <enable></enable> Enables RSTP error disable.
<base_URI>/config/running/protocol/spanning-tree/rstp/port-channel <shutdown></shutdown> Shuts down.
PATCH URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/rstp/description <description>(string)</description> Configures RSTP description.
<base_URI>/config/running/protocol/spanning-tree/rstp/bridge-priority <bridge-priority>(unit32)</bridge-priority> Configures RSTP bridge priority.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/enable <enable></enable> Enables error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/interval <interval>(unit32)</interval> Configures error disable timeout interval.
<base_URI>/config/running/protocol/spanning-tree/rstp/forward-delay <forward-delay>(unit32)</forward-delay> Configures forward delay.
<base_URI>/config/running/protocol/spanning-tree/rstp/max-age <max-age>(unit32)</max-age> Configures max age.
<base_URI>/config/running/protocol/spanning-tree/rstp/port-channel/path-cost <path-cost>(string)</path-cost> Configures path cost.
<base_URI>/config/running/protocol/spanning-tree/rstp/shutdown <shutdown></shutdown> Shuts down.
<base_URI>/config/running/protocol/spanning-tree/rstp/hello-time <hello-time>(unit32)</hello-time> Configures hello time.
<base_URI>/config/running/protocol/spanning-tree/rstp/transmit-holdcount <transmit-holdcount>(unit32)</transmit-holdcount> Configures transmit hold count.
PUT URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/rstp/description <description>(string)</description> Configures RSTP description.
<base_URI>/config/running/protocol/spanning-tree/rstp/bridge-priority <bridge-priority>(unit32)</bridge-priority> Configures RSTP bridge priority.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/enable <enable></enable> Enables error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/interval <interval>(unit32)</interval> Configures error disable timeout interval.
<base_URI>/config/running/protocol/spanning-tree/rstp/forward-delay <forward-delay>(unit32)</forward-delay> Configures forward delay.
<base_URI>/config/running/protocol/spanning-tree/rstp/max-age <max-age>(unit32)</max-age> Configures max age.
<base_URI>/config/running/protocol/spanning-tree/rstp/port-channel/path-cost <path-cost>(string)</path-cost> Configures path cost.
<base_URI>/config/running/protocol/spanning-tree/rstp/shutdown <shutdown></shutdown> Shuts down.
<base_URI>/config/running/protocol/spanning-tree/rstp/hello-time <hello-time>(unit32)</hello-time> Configures hello time.
<base_URI>/config/running/protocol/spanning-tree/rstp/transmit-holdcount <transmit-holdcount>(unit32)</transmit-holdcount> Configures transmit hold count.
DELETE URIs
<base_URI>/config/running/protocol/spanning-tree/rstp/description
<base_URI>/config/running/protocol/spanning-tree/rstp/bridge-priority
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/enable
<base_URI>/config/running/protocol/spanning-tree/rstp/error-disable-timeout/interval
<base_URI>/config/running/protocol/spanning-tree/rstp/forward-delay
<base_URI>/config/running/protocol/spanning-tree/rstp/max-age
<base_URI>/config/running/protocol/spanning-tree/rstp/port-channel/path-cost
<base_URI>/config/running/protocol/spanning-tree/rstp/shutdown
<base_URI>/config/running/protocol/spanning-tree/rstp/hello-time
<base_URI>/config/running/protocol/spanning-tree/rstp/transmit-holdcount

Parameters

description
Specifies description.
bridge-priority
Specifies bridge priority.
interval
Specifies the interval.
forward-delay
Specifies the forward delay.
max-age
Specifies max age.
path-cost
Specifies the path cost.
hello-time
Specifies the hello time.
transmit-holdcount
Specifies transmit hold count.

Usage Guidelines

GET, POST, 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/spanning-tree

None

<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/protocol/spanning-tree">
  <rstp y:self="/rest/config/running/protocol/spanning-tree/rstp">
    <error-disable-timeout y:self="/rest/config/running/protocol/spanning-tree/rstp/error-disable-timeout">
    </error-disable-timeout>
    <port-channel y:self="/rest/config/running/protocol/spanning-tree/rstp/port-channel">
    </port-channel>
  </rstp>
</spanning-tree>

URI

The following example uses the POST option to configure RSTP.

http://host:80/rest/config/running/protocol/spanning-tree

<rstp></rstp>

None

URI

The following example uses the DELETE option to remove RSTP description.

http://host:80/rest/config/running/protocol/spanning-tree/rstp/description

None

None