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

    metric-type

    Syntax

    metric-type type;

    Hierarchy Level

    [edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id nssa default-lsa],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)] area area-id nssadefault-lsa],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) area area-id nssa default-lsa],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)] area area-id nssa default-lsa],[edit protocols (ospf | ospf3) area area-id nssa default-lsa],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)] area area-id nssa default-lsa],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id nssa default-lsa],[edit routing-instances routing-instances protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)] area area-id nssa default-lsa]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Support for the realm statement introduced in Junos OS Release 9.2.

    Support for the realm statement introduced in Junos OS Release 9.2 for EX Series switches.

    Description

    Specify the external metric type for the default LSA.

    The configured metric determines the method used to compute the cost to a destination:

    • The Type 1 external metric is equivalent to the link-state metric. The path cost uses the advertised external path cost and the path cost to the AS boundary router (the route is equal to the sum of all internal costs and the external cost).
    • The Type 2 external metric uses the cost assigned by the AS boundary router (the route is equal to the external cost alone). By default, OSPF uses the Type 2 external metric.

    Options

    type—Metric type: 1 or 2

    Required Privilege Level

    routing—To view this statement in the configuration.

    routing-control—To add this statement to the configuration.

    Published: 2013-02-01