Specifying the bridge hello time for all xstp – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 380

348
Network OS NETCONF Operations Guide
53-1003231-02
Spanning tree configuration and management
24
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
<mstp>
<port-channel>
<path-cost>custom</path-cost>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2015" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Specifying the bridge hello time for all xSTP
For STP, RSTP, PVST, or Rapid PVST, use this procedure to configure the bridge hello time. 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.
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, 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>, <pvst>, or <rpvst> node element.
4. Under the <stp>, <rstp>, <mstp>, <pvst>, or <rpvst> node, include 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="2016" 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>
<hello-time>5</hello-time>
</pvst>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2016" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">