protocol/spanning-tree/rpvst

Resource URIs

URI Description
<base_URI>/config/running/protocol/spanning-tree/rpvst Configures RPVST.
GET URIs Description
<base_URI>/config/running/protocol/spanning-tree/rpvst Retrieves RPVST configuration information.
<base_URI>/config/running/protocol/spanning-tree/rpvst/description Retrieves RPVST description.
<base_URI>/config/running/protocol/spanning-tree/rpvst/bridge-priority Retrieves bridge priority for the common instance
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/enable Retrieves error disable timeout information.
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/interval Retrieves error disable timeout interval details.
<base_URI>/config/running/protocol/spanning-tree/rpvst/forward-delay Retrieves forward delay information.
<base_URI>/config/running/protocol/spanning-tree/rpvst/max-age Retrieves max age information.
<base_URI>/config/running/protocol/spanning-tree/rpvst/port-channel/path-cost Retrieves path cost.
<base_URI>/config/running/protocol/spanning-tree/rpvst/shutdown Disables RPVST.
<base_URI>/config/running/protocol/spanning-tree/rpvst/hello-time Retrieves hello time.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/forward-delay Retrieves forward delay information for a particular VLAN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/max-age Retrieves max age information for a particular VLAN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/hello-time Retrieves hello time information for a particular VLAN.
POST URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree <rpvst /> Configures RPVST.
<base_URI>/config/running/protocol/spanning-tree/rpvst <vlan><id>(req_val)</id><priority>(uint32)</priority></vlan> Configures RPVST prirority.
PATCH URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/rpvst/description <description /> Configures RPVST description.
<base_URI>/config/running/protocol/spanning-tree/rpvst/bridge-priority <bridge-priority /> Configures bridge priority.
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/enable <enable /> Enables error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/interval <interval /> Configures error disable timeout interval.
<base_URI>/config/running/protocol/spanning-tree/rpvst/forward-delay <forward-delay /> Configures forward delay.
<base_URI>/config/running/protocol/spanning-tree/rpvst/max-age <max-age /> Configures max age.
<base_URI>/config/running/protocol/spanning-tree/rpvst/port-channel/path-cost <path-cost /> Configures path cost.
<base_URI>/config/running/protocol/spanning-tree/rpvst/shutdown <shutdown /> Disables RPVST.
<base_URI>/config/running/protocol/spanning-tree/rpvst/hello-time <hello-time /> Configures hello time.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id) <vlan><priority>(uint32)</priority></vlan> Configures priority for a VALN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id) <vlan><forward-delay>(uint32)</forward-delay></vlan> Configures forward delay for a VALN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id) <vlan><max-age>(uint32)</max-age></vlan> Configures max age for a VALN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id) <vlan><hello-time>(uint32)</hello-time></vlan> Configures hello time for a VALN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/tramit-holdcount <transmit-holdcount /> Configures transmit hold count.
PUT URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/rpvst/description <description /> Configures RPVST description.
<base_URI>/config/running/protocol/spanning-tree/rpvst/bridge-priority <bridge-priority /> Configures bridge priority.
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/enable <enable /> Enables error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/interval <interval /> Configures error disable timeout interval.
<base_URI>/config/running/protocol/spanning-tree/rpvst/forward-delay <forward-delay /> Configures forward delay.
<base_URI>/config/running/protocol/spanning-tree/rpvst/max-age <max-age /> Configures max age.
<base_URI>/config/running/protocol/spanning-tree/rpvst/port-channel/path-cost <path-cost /> Configures path cost.
<base_URI>/config/running/protocol/spanning-tree/rpvst/shutdown <shutdown /> Disables RPVST.
<base_URI>/config/running/protocol/spanning-tree/rpvst/hello-time <hello-time /> Configures hello time.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/forward-delay <forward-delay/> Configures forward delay for a VLAN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/max-age <max-age/> Configures max age for a VALN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/hello-time <hello-time /> Configures hello time for a VLAN.
<base_URI>/config/running/protocol/spanning-tree/rpvst/transmit-holdcount <transmit-holdcount /> Configures transmit hold count.
DELETE URIs
<base_URI>/config/running/protocol/spanning-tree/rpvst
<base_URI>/config/running/protocol/spanning-tree/rpvst/description
<base_URI>/config/running/protocol/spanning-tree/rpvst/bridge-priority
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/enable
<base_URI>/config/running/protocol/spanning-tree/rpvst/error-disable-timeout/interval
<base_URI>/config/running/protocol/spanning-tree/rpvst/forward-delay
<base_URI>/config/running/protocol/spanning-tree/rpvst/max-age
<base_URI>/config/running/protocol/spanning-tree/rpvst/port-channel/path-cost
<base_URI>/config/running/protocol/spanning-tree/rpvst/shutdown
<base_URI>/config/running/protocol/spanning-tree/rpvst/hello-time
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/forward-delay
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/max-age
<base_URI>/config/running/protocol/spanning-tree/rpvst/vlan/(id)/hello-time
<base_URI>/config/running/protocol/spanning-tree/rpvst/transmit-holdcount

Parameters

description
Specifies description.
bridge-priority
Specifies bridge priority.
interval
Specifies the error disable timeout 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/rpvst

None

<rpvst xmlns="urn:brocade.com:mgmt:brocade-xstp" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/protocol/spanning-tree/rpvst">
  <hello-time>3</hello-time>
  <forward-delay>14</forward-delay>
  <max-age>19</max-age>
  <error-disable-timeout y:self="/rest/config/running/protocol/spanning-tree/rpvst/error-disable-timeout">
    <enable>true</enable>
    <interval>100</interval>
  </error-disable-timeout>
  <port-channel y:self="/rest/config/running/protocol/spanning-tree/rpvst/port-channel">
  </port-channel>
  <vlan y:self="/rest/config/running/protocol/spanning-tree/rpvst/vlan/100">
    <id>100</id>
  </vlan>
  <vlan y:self="/rest/config/running/protocol/spanning-tree/rpvst/vlan/102">
    <id>102</id>
  </vlan>
</rpvst>

URI

The following example uses the POST option to configure RPVST.

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

<rpvst/>

None

URI

The following example uses the DELETE option to remove RPVST configuration.

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

None

None