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

Network OS NETCONF Operations Guide
343
53-1003231-02
Spanning tree configuration and management
24
Specifying bridge forward delay on a per-VLAN basis
Using PVST or Rapid PVST, you may specify the forward delay for a specific VLAN. If the VLAN
parameter is not provided, the priority value is applied globally for all per-VLAN instances. But for
the VLANs which have been configured explicitly, the per-VLAN configuration takes precedence over
the global configuration.
The VLAN ID value can be 1 through 3583. VLAN IDs 3584 through 4094 are internally-reserved
VLAN IDs.
The range is 4 through 30 seconds. The default is 15 seconds. The following relationship should be
kept:
2*(forward_delay - 1)>=max_age>=2*(hello_time + 1)
To specify the bridge forward delay for a specific VLAN, 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 <pvst>, or <rpvst> node element.
4. Under the <pvst>, or <rpvst> node, include the <vlan> node element.
5. Under the <vlan> node, include the following leaf elements.
a. In the <id> element, specify the VLAN ID.
b. In the <forward-delay> leaf element, and specify the bridge forward delay.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2010" 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">
<rpvst>
<vlan>
<id>200</id>
<forward-delay>20</forward-delay>
</vlan>
</rpvst>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2010" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>