protocol/spanning-tree/mstp

Configures MSTP.

Resource URIs

URI Description
<base_URI>/config/running/protocol/spanning-tree/mstp Configures MSTP.
GET URIs Description
<base_URI>/config/running/protocol/spanning-tree Retrieves spanning tree configurations.
<base_URI>/config/running/protocol/spanning-tree/mstp Retrieves MSTP configuration information.
<base_URI>/config/running/protocol/spanning-tree/mstp/instance/(instance-id) Retrieves MSTP configuration information for a particular instance.
POST URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/mstp <instance><id>(unit32)</id><vlan>(unit32)</vlan></instance> Configures MSTP instance.
PATCH URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/mstp/instance/(instance-id)/priority <priority>(unit32)</priority> Configures MSTP priority.
PUT URIs Payload Description
<base_URI>/config/running/protocol/spanning-tree/mstp/description <description>(string)</description> Configures MSTP description.
<base_URI>/config/running/protocol/spanning-tree/mstp/bridge-priority <bridge-priority>(unit32)</bridge-priority> Configures MSTP bridge priority.
<base_URI>/config/running/protocol/spanning-tree/mstp/cisco-interoperability <cisco-interoperability>(enumeration)</cisco-interoperability> Enable MSTP cisco interoperability.
<base_URI>/config/running/protocol/spanning-tree/mstp/error-disable-timeout/enable <enable></enable> Enables MSTP error disable timeout.
<base_URI>/config/running/protocol/spanning-tree/mstp/forward-delay <forward-delay>(unit32)</forward-delay> Configures MSTP forward delay.
<base_URI>/config/running/protocol/spanning-tree/mstp/hello-time <hello-time>(unit32)</hello-time> Configures MSTP hello time.
<base_URI>/config/running/protocol/spanning-tree/mstp/max-age <max-age>(unit32)</max-age> Configures MSTP max age.
<base_URI>/config/running/protocol/spanning-tree max-hops>(unit32)</max-hops> Configures max hops.
<base_URI>/config/running/protocol/spanning-tree/mstp/port-channel/path-cost <path-cost>(string)</path-cost> Configures MSTP port channel path cost.
<base_URI>/config/running/protocol/spanning-tree/mstp/region <region>(string)</region> Configures MSTP string.
<base_URI>/config/running/protocol/spanning-tree/mstp/revision <revision>(unit32)</revision> Configures MSTP revision.
<base_URI>/config/running/protocol/spanning-tree/mstp/shutdown <shutdown></shutdown> Disable MSTP.
<base_URI>/config/running/protocol/spanning-tree/mstp/transmit-holdcount <transmit-holdcount>(uni32)</transmit-holdcount> Configures MSTP trasmit holdcount.
<base_URI>/config/running/protocol/spanning-tree/mstp/error-disable-timeout/interval <interval>(unit32)</interval> Configures MSTP error disable timeout interval.
DELETE URIs
<base_URI>/config/running/protocol/spanning-tree/mstp/description
<base_URI>/config/running/protocol/spanning-tree/mstp/bridge-priority
<base_URI>/config/running/protocol/spanning-tree/mstp/cisco-interoperability
<base_URI>/config/running/protocol/spanning-tree/mstp/error-disable-timeout/enable
<base_URI>/config/running/protocol/spanning-tree/mstp/forward-delay
<base_URI>/config/running/protocol/spanning-tree/mstp/hello-time
<base_URI>/config/running/protocol/spanning-tree/mstp/max-age
<base_URI>/config/running/protocol/spanning-tree
<base_URI>/config/running/protocol/spanning-tree/mstp/port-channel/path-cost
<base_URI>/config/running/protocol/spanning-tree/mstp/region
<base_URI>/config/running/protocol/spanning-tree/mstp/revision
<base_URI>/config/running/protocol/spanning-tree/mstp/shutdown
<base_URI>/config/running/protocol/spanning-tree/mstp/transmit-holdcount
<base_URI>/config/running/protocol/spanning-tree/mstp/error-disable-timeout/interval

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

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">\r
  <mstp y:self="/rest/config/running/protocol/spanning-tree/mstp">\r
    <error-disable-timeout y:self="/rest/config/running/protocol/spanning-tree/mstp/error-disable-timeout">\r
    </error-disable-timeout>\r
    <port-channel y:self="/rest/config/running/protocol/spanning-tree/mstp/port-channel">\r
    </port-channel>\r
    <instance y:self="/rest/config/running/protocol/spanning-tree/mstp/instance/1">\r
      <id>1</id>\r
      <vlan>5-10</vlan>\r
    </instance>\r
  </mstp>\r
</spanning-tree>\r

URI

The following example uses the POST option to configure MSTP instance.

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

<instance>
  <id>2</id>
  <vlan>4</vlan>
</instance>

None

URI

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

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

None

None