Technical Documentation

cost

Syntax

cost cost;

Hierarchy Level

[edit protocols mstp interface (all | interface-name)],
[edit protocols mstp msti msti-id interface interface-name],
[edit protocols rstp interface (all | interface-name)],
[edit protocols stp interface (all | interface-name)]

Release Information

Statement introduced in JUNOS Release 9.0 for EX-series switches.

Description

For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), or Multiple Spanning Tree Protocol (MSTP), configure link cost to control which bridge is the designated bridge and which interface is the designated interface.

Default

The link cost is determined by the link speed.

Options

cost —Link cost associated with the port.

Range: 1 through 200,000,000
Default: Link cost is determined by the link speed.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.