Specifying a name for an mstp region – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 385

Advertising
background image

Network OS NETCONF Operations Guide

353

53-1003231-02

Spanning tree configuration and management

24

</rpc-reply>

Specifying the maximum number of hops for a BPDU (MSTP)

Use this procedure to configure the maximum number of hops for a BPDU in an MSTP region.
Specifying the maximum hops for a BPDU prevents the messages from looping indefinitely on the
interface. When you change the number of hops, it affects all spanning tree instances. The range is
1 through 40. The default is 20 hops.

To configure the maximum number of hops for a BPDU in an MSTP region, 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 <mstp> node element.

4. Under the <mstp> node, include the <max-hops> element and specify the maximum number

of hops for a BPDU in an MSTP region.

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

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

<mstp>

<max-hops>30</max-hops>

</mstp>

</spanning-tree>

</protocol>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Specifying a name for an MSTP region

Use this procedure to assign a name to an MSTP region. The region name has a maximum length of
32 characters and is case-sensitive.

To assign a name to an MSTP region, 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 <mstp> node element.

Advertising