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 intfCost

    no cost

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Specifies a cost metric for an OSPF remote-neighbor interface. Used in the calculation of the SPF routing table. The no version restores the default value.

    Options

    • intfCost—Link-state metric cost; a number in the range 1–65535; default value is 10 if there is no route to the remote neighbor; otherwise, the default is calculated based on the bandwidth of the physical interface used to reach the remote neighbor and the OSPF auto-cost reference bandwidth

    Mode

    Remote Neighbor Configuration

    Published: 2014-08-14