Configuring rstp – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 364

Advertising
background image

332

Network OS NETCONF Operations Guide

53-1003231-02

Configuring RSTP

24

<portfastbasic/>

</portfast>

</spanning-tree>

</tengigabitethernet>

<tengigabitethernet>

<name>22/0/11</name>

<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

<spanning-tree>

<portfast>

<portfastbasic/>

</portfast>

</spanning-tree>

</tengigabitethernet>

<tengigabitethernet>

<name>22/0/13</name>

<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

<spanning-tree>

<priority>32</priority>

</spanning-tree>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

When the spanning tree topology is completed, the network switches send and receive data only on
the ports that are part of the spanning tree. Data received on ports that are not part of the
spanning tree is blocked.

NOTE

Brocade recommends leaving other STP variables at their default values.

For more information on STP, refer to

“Spanning tree configuration and management”

on

page 338.

Configuring RSTP

The basic process for configuring RSTP 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 <rstp> node element.

Refer to

“Enabling STP, RSTP, MSTP, PVST, or Rapid PVST”

on page 338 for details.

4. Under the <rstp> node, designate the root switch using the <bridge-priority> leaf node.

Advertising