
Network OS NETCONF Operations Guide 333
53-1003231-02
Configuring RSTP
24
For details, refer to “Specifying the bridge priority for all xSTP” on page 340. The range is 0
through 61440 and the priority values can be set only in increments of 4096. The default value
is 32768.
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree>
<stp>
<bridge-priority>28672</bridge-priority>
</stp>
</spanning-tree>
</protocol>
5. Under the <rstp> node, set other RSTP parameters including the bridge forward delay,
maximum aging time, error disable timeout period, port channel path cost, and hello time.
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree>
<rstp>
<forward-delay>20</forward-delay>
<max-age>25<max-age>
<error-disabled-timeout>
<enable/>
<interval>60</interval>
</error-disabled-timeout>
<port-channel>
<path-cost>custom</path-cost>
</port-channel>
<hello-time>5</hello-time>
</rstp>
</spanning-tree>
</protocol>
6. Optional: Enable the edge port feature on switch ports that connect directly to a workstations
or PC.
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/10</name>
<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
<edgeport>
<edgeportbasic/>
</edgeport>
</spanning-tree>
</tengigabitethernet>
</interface>
For details, refer to “Enabling a port (interface) as an edge port” on page 359.
7. Re pe at step 6 for every port connected to workstations or PCs.
Do not enable port fast on ports that connect to other switches.
Enabling port fast on ports can cause temporary bridging loops, in both trunking and
non-trunking mode.
8. To influence selection of the root port, set the port priority.
Commenti su questo manuale