get-stp-brief-info

Displays spanning tree information.

Resource URIs

URI Description
<base_URI>/operations/get-stp-brief-info Displays spanning tree information.

Parameters

stp-mode
Displays the type of the Spanning Tree Protocol configured on the switch.
priority
Displays the Bridge priority.
hello-time
Displays the interval between two transmissions of BPDU packets sent by the Root Bridge to tell all other switches that it is indeed the Root Bridge (1 to 10 sec).
max-age
Displays the Max Age may be set to ensure that old information does not endlessly circulate through redundant paths in the network, preventing the effective propagation of new information (6 to 40 sec).
forward-delay
Displays the port on the Switch spends this time in the listening state while moving from the blocking state to the forwarding state (4 to 30 sec).
interface-type
Displays the interface type.
interface-name
Displays the interface name.
spanningtree-enabled
Enables spanning tree.
if-index
Displays the interface index.
interface-id
Displays the interface ID.
if-role
Displays the interface role.
if-state
Displays the interface state.
external-path-cost
Designated external path cost.
internal-path-cost
Designated internal path cost.
configured-path-cost
Displays the configured path cost.
designated-port-id
Displays the designated port ID.
port-priority
Displays the Port priority.
designated-bridge-id
Displays the designated bridge ID.
port-hello-time
Displays the Port hello time.
forward-transitions-count
Displays the number of forward transitions.
received-stp-type
Displays the received (rx) STP type.
transmitted-stp-type
Displays the transmitted (tx) STP type.
edge-port
Displays the edge port mode.
auto-edge
Displays the auto edge.
admin-edge
Displays the admin edge.
edge-delay
Displays the edge delay.
configured-root-guard
Displays the configured root guard.
oper-root-guard
Displays the operational root guard.
boundary-port
Displays the Is boundary.
oper-bpdu-guard
Displays the operational BPDU guard.
oper-bpdu-filter
Displays the operational BPDU filter.
link-type
Displays the spanning tree link type.
rx-bpdu-count
Displays the received BPDU count.
tx-bpdu-count
Displays the transmitted BPDU count.

Usage Guidelines

Only POST operation is supported.

Examples

URI

http://host:80/rest/operations/get-stp-brief-info

<get-stp-brief-info></get-stp-brief-info>
<output xmlns='urn:brocade.com:mgmt:brocade-xstp-ext'>
  <spanning-tree-info>
    <stp-mode>stp</stp-mode>
    <stp>
      <root-bridge>
        <priority>32768</priority>
        <bridge-id>8000.01e0.5200.0193</bridge-id>
        <hello-time>2</hello-time>
        <max-age>20</max-age>
        <forward-delay>15</forward-delay>
      </root-bridge>
      <bridge>
        <priority>32768</priority>
        <bridge-id>8000.01e0.5200.0193</bridge-id>
        <hello-time>2</hello-time>
        <max-age>20</max-age>
        <forward-delay>15</forward-delay>
      </bridge>
    </stp>
  </spanning-tree-info>
  <has-more>false</has-more>
</output>