[an error occurred while processing this directive][an error occurred while processing this directive]

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 Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Support for the realm statement introduced in JUNOS Release 9.2.

Support for the realm statement introduced in JUNOS 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: 2010-04-14

[an error occurred while processing this directive]