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

Network OS NETCONF Operations Guide
349
53-1003231-02
Spanning tree configuration and management
24
<ok/>
</rpc-reply>
Specifying the bridge hello time per VLAN (PVST or RPVST)
For PVST or Rapid PVST, use this procedure to configure the bridge hello time on a per VLAN basis.
The hello time determines how often the switch interface broadcasts BPDUs to other devices. The
range is 1 through 10 seconds. The default is 2 seconds. For the VLANs which have been
configured explicitly, the per-VLAN configuration takes precedence over the global configuration.
When configuring the hello time, the max-age setting must be greater than the hello-time setting.
The following relationship should be kept:
2*(forward_delay - 1)>=max_age>=2*(hello_time + 1)
To specify the bridge hello time 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 <hello-time> leaf element and specify the time range in seconds for the interval
between the hello BPDUs sent on an interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2017" 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">
<pvst>
<vlan>
<id>200</vlan>
<hello-time>5</hello-time>
</vlan>
</pvst>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2017" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>