-
area-range network/mask-length <restrict> <exact> <override-metric metric>;
- [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]
Statement introduced before JUNOS Release 7.4.
Support for the realm statement introduced in JUNOS Release 9.2.
(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 an NSSA, summarize a range of IP addresses when sending NSSA LSAs. 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.
By default, area border routers do not summarize routes being sent from one area to other areas, but rather send all routes explicitly.
network—IP address. You can specify one or more IP addresses.
mask-length—Number of significant bits in the network mask.
restrict—(Optional) Do not advertise the configured summary. This hides all routes that are contained within the summary, effectively creating a route filter.
exact—(Optional) Summarization of a route is advertised only when an exact match is made with the configured summary range.
override-metric metric—(Optional) Override the metric for the IP address range and configure a specific metric value.
See Configuring Route Summarization and Configuring a Not-So-Stubby Area.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.