protocol/spanning-tree/pvst

Configures PVST.

Resource URIs

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

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.

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/pvst/

None

<pvst xmlns="urn:brocade.com:mgmt:brocade-xstp" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/protocol/spanning-tree/pvst">
  <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/pvst/error-disable-timeout">
    <enable>true</enable>
    <interval>100</interval>
  </error-disable-timeout>
  <port-channel y:self="/rest/config/running/protocol/spanning-tree/pvst/port-channel">
  </port-channel>
  <vlan y:self="/rest/config/running/protocol/spanning-tree/pvst/vlan/100">
    <id>100</id>
  </vlan>
  <vlan y:self="/rest/config/running/protocol/spanning-tree/pvst/vlan/102">
    <id>102</id>
  </vlan>
</pvst>

URI

The following example uses the POST option to configure PVST.

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

<pvst/>

None

URI

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

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

None

None