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

    default-metric

    Syntax

    default-metric metric;

    Hierarchy Level

    [edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id nssa default-lsa],[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id stub],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id nssa default-lsa],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id stub],[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 (ospf | ospf3) area area-id stub],[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 logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id stub],[edit protocols (ospf | ospf3) area area-id nssa default-lsa],[edit protocols (ospf | ospf3) area area-id stub],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id nssa default-lsa],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id stub],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id nssa default-lsa],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id stub],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id nssa default-lsa],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id stub]

    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

    On area border routers only, for a stub area, inject a default route with a specified metric value into the area. The default route matches any destination that is not explicitly reachable from within the area.

    Options

    metric—Metric value.

    Range: 1 through 16,777,215

    Required Privilege Level

    routing—To view this statement in the configuration.

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

    Published: 2013-02-01