default-information-originate
(OSPFv3)
default-information-originate
[
always
]
[
metric
metric
]
[
metric-type
{
type1
|
type2
}
]
no default-information-originate
The default route is not advertised into the OSPFv3 domain.
- always
- Always advertises the default route. If the route table manager (RTM) does not have a default route, the router advertises the route as pointing to itself.
- metric metric
- Used for generating the default route, this parameter specifies the cost for reaching
the rest of the world through this route. If you omit this parameter, the value of
the
default-metriccommand is used for the route. Valid values range from 1 through 65535.
OSPFv3 router configuration mode
OSPFv3 router VRF configuration mode
This configuration provides criteria for the redistribution of any default routes found in the RTM (whether static or learned from another protocol) to its neighbors.
If you specify a metric and metric type, the values are used even if you do not use the always option.
The
no form of the command disables default route origination.
The following example specifies a metric of 20 for the default route redistributed into the OSPFv3 routing domain and an external metric type of Type 2.
device# configure terminal device(config)# ipv6 router ospf device(config-ospf6-router)# default-information-originate metric 20 metric-type type2