Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 377

Advertising
background image

Network OS NETCONF Operations Guide

345

53-1003231-02

Spanning tree configuration and management

24

2*(forward_delay - 1)>=max_age>=2*(hello_time + 1)

To specify the bridge maximum aging time for a 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 <max-age> leaf element, specify the bridge maximum aging limit for the specified

VLAN.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="2012" 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</id>

<max-age>25</max-age>

</vlan>

</pvst>

</spanning-tree>

</protocol>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="2012" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Enabling the error disable timeout timer for all xSTP

For any spanning tree mode (STP, RSTP, MSTP, PVST, or Rapid PVST), use this procedure to enable
the timer to bring a port out of the disabled state. When the STP BPDU guard disables a port, the
port remains in the disabled state unless the port is enabled manually. The
<error-disable-timeout> node allows you to enable the port from the disabled state. For details on
configuring the error disable timeout interval, refer to

“Specifying the error disable timeout interval

for all xSTP”

on page 346.

By default, the timeout feature is disabled.

To enable the error disable timeout timer, perform the following steps.

Advertising