Configuring pvst and rapid pvst – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 369

Network OS NETCONF Operations Guide
337
53-1003231-02
Configuring PVST and Rapid PVST
24
Configuring PVST and Rapid PVST
The basic process for configuring PVST or Rapid PVST is as follows.
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 <pvst> or <rpvst> node element to access the
PVST or Rapid PVST mode parameters.
“Enabling STP, RSTP, MSTP, PVST, or Rapid PVST”
4. Under the <pvst> or <rpvst> node, include the <bridge-priority> node element and specify the
priority.
A lower priority is more likely to designate the root switch. For more details, refer to
the bridge priority for all xSTP”
5. Under the <pvst> or <rpvst> node, include the <forward-delay> element and specify how long
an interface remains in the listening and learning states before the interface begins forwarding
all spanning tree instances.
“Specifying the bridge forward delay for all xSTP”
6. Under the <pvst> or <rpvst> node, specify a <hello-time> element to specify how often the
switch interface broadcasts hello Bridge Protocol Data Units (BPDUs) to other devices.
“Specifying the bridge hello time for all xSTP”
7. Under the <pvst> or <rpvst> node, include the <max-age> leaf element and control the
maximum length of time that passes before an interface saves its Bridge Protocol Data Unit
(BPDU) configuration information.
“Specifying the bridge maximum aging time for all xSTP”
8. Issue the <bna-config-cmd> RPC to save the running config file to the startup config file and
save the configuration changes.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2003" 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>
<pvst>
<bridge-priority>4096</bridge-priority>
<forward-delay>4</forward-delay>
<hello-time>2</hello-time>
<max-age>7</max-age>
</pvst>
</spanning-tree xmlns=”urn:brocade.com:mgmt:brocade-xstp”>
</protocol>
</config>
</edit-config>