Statement introduced in JUNOS Release 9.0 for EX Series switches.
Statement updated in JUNOS 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.
Required Privilege Level
routing—To view this statement in the
routing-control—To add this statement to the configuration.