ospf
Syntax
ospf {
domain-id domain-id;
domain-vpn-tag number;
route-type-community (iana | vendor);
<advertise-unnumbered-interfaces>;
<credibility-protocol-preference>;
ignore-lsp-metrics;
multicast-rpf-routes;
no-topology;
}
... ospf-configuration ...
}
Hierarchy Level
[edit logical-systems logical-system-name protocols],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols],
[edit protocols],
[edit routing-instances routing-instance-name protocols]
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Enable OSPF routing on the routing device. You must include the ospf statement to enable OSPF on the routing device. By default, OSPF is disabled.
Options
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
0.0.0.0.
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.