Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    cost

    Syntax

    cost cost;

    Hierarchy Level

    [edit logical-systems logical-system-name protocols (mstp | rstp | vstp) interface interface-name],[edit logical-systems logical-system-name protocols mstp msti msti-id interface interface-name],[edit logical-systems logical-system-name protocols vstp vlan vlan-id interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols mstp msti msti-id interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name],[edit protocols (mstp | rstp | vstp) interface interface-name],[edit protocols mstp msti msti-id interface interface-name],[edit protocols vstp vlan vlan-id interface interface-name],[edit routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name],[edit routing-instances routing-instance-name protocols mstp msti msti-id interface interface-name],[edit routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name]

    Release Information

    Statement introduced in Junos OS Release 8.4.

    Support for logical systems added in Junos OS Release 9.6.

    Description

    Configure link cost to control which bridge is the designated bridge and which port is the designated port. By default, the link cost is determined by the link speed.

    Options

    cost—(Optional) 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.

    Published: 2013-04-01