Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Enable OSPFv3 routing on the routing device. You must include the ospf3 statement to enable OSPFv3. By default, OSPFv3 is disabled.


domain-id domain-id

The domain ID identifies the OSPF domain from which the route originated. 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

domain-vpn-tag number

Set a virtual private network (VPN) tag for OSPFv2 external routes generated by the provider edge (PE) routing device. The number corresponds to the VPN tag.

route-type-community (iana | vendor)

Specify an extended community value to encode the OSPF route type. Each extended community is coded as an eight-octet value. This statement sets the most significant bit to either an IANA or vendor-specific route type.

  • iana—Encode a route type with the value 0x0306. This is the default value.

  • vendor—Encode the route type with the value 0x8000.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.