Specifying the port-channel path cost for all xstp – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 379

Network OS NETCONF Operations Guide
347
53-1003231-02
Spanning tree configuration and management
24
5. Under the <error-disable-timeout> node, include the <interval> element and specify the time
in seconds it takes for an interface to timeout.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2014" 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>
<interval>60</interval>
</error-disable-timeout>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2014" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Specifying the port-channel path cost for all xSTP
For STP, RSTP, MSTP, PVST, or Rapid PVST, use this procedure to specify the port-channel path cost.
The default port cost is standard. The path cost options are:
•
custom—Specifies that the path cost changes according to the port-channel’s bandwidth.
•
standard—Specifies that the path cost does not change according to the port-channel’s
bandwidth.
To specify the port-channel path cost, 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 <port-channel> node
element
5. Under the <port-channel> node, include the <path-cost> leaf element and specify “custom” or
“standard” to specify the port channel path cost.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2015" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>