interface/{interface-type}/{interface-name}/spanning-tree/cost

Changes an interface's spanning-tree port path cost.

Usage

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
	<ethernet>
		<name>2/1</name>
		<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
			<cost>10000</cost>
		</spanning-tree>
	</ethernet>
</interface>

Parameters

name
Specifies the interface name.
cost
Specifies the path cost for the Spanning Tree Protocol (STP) calculations. The value can range from 1 through 200000000.