beautypg.com

Configuring the path cost for all xstp – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 389

background image

Network OS NETCONF Operations Guide

357

53-1003231-02

Configuring all xSTP on DCB interface ports

24

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

port-channel number.

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

port.

c. Include the node element, which resides in the

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

4. Under the node, include the empty leaf element to enable

automatic edge detection on the DCB interface.

22/0/1

operation="delete"/>

Configuring the path cost for all xSTP

Use this procedure to configure the path cost for spanning tree calculations. The lower the path
cost means there is a greater chance of the interface becoming the root port. The range is 1
through 200000000. The default path cost is 2000 for a 10 Gbps interface.

To configure the path cost for spanning tree calculations on the DCB interface, perform the
following steps.

1. Issue the RPC to configure the interface node in the

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

2. Under the node, include the , ,

, , or node element.

3. Under the , , ,

, or node element, include the following elements.

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

port-channel number.

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

port.