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

354
Network OS NETCONF Operations Guide
53-1003231-02
Spanning tree configuration and management
24
4. Under the <mstp> node, include the <region> element and specify an MSTP region.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2023" 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>
<region>sydney</region>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2023" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Specifying a revision number for MSTP configuration
Use this procedure to specify a revision number for an MSTP configuration. The range is 0 through
255. The default is 0.
To specify a revision number for an MSTP configuration, 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 <mstp> node element.
4. Under the <mstp> node, include the <revision> element and specify a revision number for an
MSTP configuration.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2024" 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>
<revision>17</revision>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>