Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- EX Series
- show spanning-tree interface
- J Series
- show spanning-tree bridge
- M Series
- show spanning-tree bridge
- MX Series
- show spanning-tree bridge
- QFX Series
- Understanding MSTP
- Overview of Spanning-Tree Protocols
- Understanding VSTP
- show spanning-tree bridge
- T Series
- show spanning-tree bridge
cost (STP)
Syntax
cost cost;
Hierarchy Level
[edit protocols mstp interface (all | interface-name)], [edit protocols mstp msti msti-id interface interface-name], [edit protocols rstp (Spanning Trees) interface (all | interface-name)], [edit protocols stp interface (all | interface-name)],[edit protocols vstp vlan vlan-id interface (all
| interface-name)]
Release Information
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description
For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), or Multiple Spanning Tree Protocol (MSTP), configure the link cost to control which bridge is the designated bridge and which interface is the designated interface.
Default
Link cost is determined by the link speed.
Options
cost—Link cost associated with the port.
Range: 1 through 200,000,000
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.
Related Documentation
- EX Series
- show spanning-tree interface
- J Series
- show spanning-tree bridge
- M Series
- show spanning-tree bridge
- MX Series
- show spanning-tree bridge
- QFX Series
- Understanding MSTP
- Overview of Spanning-Tree Protocols
- Understanding VSTP
- show spanning-tree bridge
- T Series
- show spanning-tree bridge

