Specifying the mstp hello time – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 395

Advertising
background image

Network OS NETCONF Operations Guide

363

53-1003231-02

Configuring all xSTP on DCB interface ports

24

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

<vlan>

<id>100</id>

<guard>

<root/>

</guard>

</vlan>

</spanning-tree>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Specifying the MSTP hello time

Use this procedure to set the time interval between BPDUs sent by the root switch. Changing the
hello time affects all spanning tree instances.

The <max-age> setting must be greater than the <hello-time> setting (refer to

“Specifying the

bridge maximum aging time for all xSTP”

on page 344). The range is 1 through 10 seconds. The

default is 2 seconds.

To specify the MSTP hello time on a DCB interface, perform the following steps.

1. Issue the <edit-config> RPC to configure the interface node in the

urn:brocade.com:mgmt:brocade-interface namespace.

2. Under the <interface> node, include the <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node element.

3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> node element, include the following elements.

a. In the <name> element, specify the interface name in [rbridge-id/]slot/port format or

port-channel number.

b. In the <shutdown> element, include the delete operation in the element tag to enable the

port.

c. Include the <spanning-tree> node element, which resides in the

urn:brocade.com:mgmt:brocade-xstp namespace.

4. Under the <spanning-tree> node, include the <hello-time> leaf element and specify the hello

time on the DCB interface.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<tengigabitethernet>

<name>22/0/1</name>

Advertising