- area area-id;
- [edit logical-systems logical-system-name protocols (ospf | ospf3)],
- [edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast
| ipv4-multicast | ipv6-multicast)],
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols
(ospf | ospf3)],
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols
ospf3 realm (ipv4-unicast | ipv4-multicast
| ipv6-multicast)],
- [edit protocols (ospf | ospf3)],
- [edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast
| ipv6-multicast)],
- [edit routing-instances routing-instance-name protocols (ospf | ospf3)],
- [edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast
| ipv4-multicast | ipv6-multicast)]
Statement introduced before JUNOS Release 7.4.
Support for the realm statement introduced in JUNOS Release 9.2.
Specify the area identifier for this router to use when participating in OSPF routing. All routers in an area must use the same area identifier to establish adjacencies.
Specify multiple area statements to configure the router as an area border router. An area border router does not automatically summarize routes between areas; use the area-range statement to configure route summarization. By definition, an area border router must be connected to the backbone area either through a physical link or through a virtual link. To create a virtual link, use the virtual-link statement.
To specify that the router is directly connected to the OSPF and OSPFv3 backbone, include the area 0.0.0.0 statement.
All routers on the backbone must be contiguous. If they are not, use the virtual-link statement to create the appearance of connectivity to the backbone.
area-id—Area identifier. The identifier can be up to 32 bits. It is common to specify the area number as a simple integer or an IP address. Area number 0.0.0.0 is reserved for the OSPF and OSPFv3 backbone area.
See Configuring the Backbone Area and Other Areas and Configuring Multiple Address Families for OSPFv3.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.