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

Page 367

Advertising
background image

Network OS NETCONF Operations Guide

335

53-1003231-02

Configuring MSTP

24

<path-cost>custom</path-cost>

</port-channel>

<hello-time>5</hello-time>

</rstp>

</spanning-tree>

</protocol>

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">

<tengigabitethernet>

<name>22/0/10</name>

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

operation="delete"/>

<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">

<edgeport>

<edgeportbasic/>

</edgeport>

</spanning-tree>

</tengigabitethernet>

<tengigabitethernet>

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

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

operation="delete"/>

<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">

<edgeport>

<edgeportbasic/>

</edgeport>

</spanning-tree>

</tengigabitethernet>

<tengigabitethernet>

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

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

operation="delete"/>

<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">

<priority>32</priority>

</spanning-tree>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Configuring MSTP

The basic process for configuring MSTP 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 <mstp> node element to access the MSTP mode

parameters.

For more details, refer to

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

on page 338.

Advertising