cost
Syntax
Hierarchy Level
Release Information
Description
Default
Options
Required Privilege
Level
Related
Documentation
Copyright © 2010, Juniper Networks, Inc.
cost cost;
[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)],
[edit protocols vstp vlan vlan-id interface (all | interface-name)]
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement updated in Junos OS Release 9.4 for EX Series switches to add VSTP support.
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.
The link cost is determined by the link speed.
cost
—Link cost associated with the port.
Range: 1 through 200,000,000
Default: Link cost is determined by the link speed.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
show spanning-tree bridge on page 1644
show spanning-tree interface on page 1653
Understanding STP for EX Series Switches on page 1519
Understanding MSTP for EX Series Switches on page 1521
Understanding VSTP for EX Series Switches on page 1525
Chapter 68: Configuration Statements for Spanning-Tree Protocols
1605