Disabling stp, rstp, mstp, pvst, or rapid pvst – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 371

Network OS NETCONF Operations Guide
339
53-1003231-02
Spanning tree configuration and management
24
Disabling STP, RSTP, MSTP, PVST, or Rapid PVST
NOTE
This procedure deletes the context and all the configurations defined within the context or protocol
for the interface.
By default, STP, RSTP, MSTP, PVST, and Rapid PVST are not enabled.
To disable STP, RSTP, MSTP, PVST, or Rapid PVST, 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, and include the delete operation in the
element tag.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2005" 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”
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2005" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Stopping STP, RSTP, MSTP, PVST, or Rapid PVST globally
To shut down STP, RSTP, MSTP, PVST, or Rapid PVST, globally, 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 empty <shutdown>
leaf element to shut down the spanning tree mode.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2006" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>