Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.


Specify a domain ID for a route. The domain ID identifies the OSPF domain from which the route originated.


domain-id—You can specify either an IP address or an IP address and a local identifier using the following format: ip-address:local-identifier. If you do not specify a local identifier with the IP address, the identifier is assumed to have a value of 0.

Default: If the router ID is not configured in the routing instance, the router ID is derived from an interface address belonging to the routing instance. The default OSPF domain ID is the null value

Required Privilege Level

routing—To view this statement in the configuration.

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