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

    area-range

    Syntax

    area-range network/mask-length <exact> <override-metric metric> <restrict>;

    Hierarchy Level

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

    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.

    Statement introduced in Junos OS Release 11.3 for the QFX Series.

    Description

    (Area border routers only) For an area, summarize a range of IP addresses when sending summary link advertisements (within an area). To summarize multiple ranges, include multiple area-range statements.

    For a not-so-stubby area (NSSA), summarize a range of IP addresses when sending NSSA link-state advertisements. The specified prefixes are used to aggregate external routes learned within the area when the routes are advertised to other areas. To specify multiple prefixes, include multiple area-range statements. All external routes learned within the area that do not fall into one of the prefixes are advertised individually to other areas.

    Default

    By default, area border routers do not summarize routes being sent from one area to other areas, but rather send all routes explicitly.

    Options

    exact—(Optional) Summarization of a route is advertised only when an exact match is made with the configured summary range.

    mask-length—Number of significant bits in the network mask.

    network—IP address. You can specify one or more IP addresses.

    override-metric metric—(Optional) Override the metric for the IP address range and configure a specific metric value.

    restrict—(Optional) Do not advertise the configured summary. This hides all routes that are contained within the summary, effectively creating a route filter.

    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: 2014-05-08