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

Configures the path-cost for a port.

Usage

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

Parameters

name
Specifies the interface name
id
Specifies the MSTP instance. The value can range from 1 through 32
cost
Specifies the path-cost for a port. The value can range from 1 through 20000000