Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 378

346
Network OS NETCONF Operations Guide
53-1003231-02
Spanning tree configuration and management
24
1. Issue the <edit-config> RPC to configure the <protocol> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <protocol> node, include the <spanning-tree> node from the
urn:brocade.com:mgmt:brocade-xstp namespace.
3. Under the <spanning-tree> node, include the <stp>, <rstp>, <mstp>, <pvst>, or <rpvst> node
element.
4. Under the <stp>, <rstp>, <mstp>, <pvst>, or <rpvst> node, include the
<error-disable-timeout> node element.
5. Under the <error-disable-timeout> node, include the empty <enable> leaf element to enable
the error disable timeout.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2013" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
<mstp>
<error-disable-timeout>
<enable/>
</error-disable-timeout>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2013" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Specifying the error disable timeout interval for all xSTP
For any spanning tree mode (STP, RSTP, MSTP, PVST, or Rapid PVST), use this procedure to specify
the time in seconds it takes for an interface to timeout. The range is 10 through 1000000 seconds.
The default is 300 seconds. By default, the timeout feature is disabled.
To specify the time in seconds it takes for an interface to timeout, perform the following steps.
1. Issue the <edit-config> RPC to configure the <protocol> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <protocol> node, include the <spanning-tree> node from the
urn:brocade.com:mgmt:brocade-xstp namespace.
3. Under the <spanning-tree> node, include the <stp>, <rstp>, <mstp>, <pvst>, or <rpvst> node
element.
4. Under the <stp>, <rstp>, <mstp>, <pvst>, or <rpvst> node, include the
<error-disable-timeout> node element.