default-information-originate
(OSPFv3)
Controls distribution of default information to an OSPFv3 device.
Syntax
default-information-originate
[
always
]
[
metric
metric
]
[
metric-type
{
type1
|
type2
}
]
no default-information-originate
Command Default
The default route is not advertised into the OSPFv3 domain.
Parameters
-
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-metric command is used for the route. Valid values range from 1 through 65535.
-
metric-type
- Specifies the external link type associated with the default route advertised into the OSPF routing domain.
- type1
- The metric of a neighbor is the cost between itself and the router plus the cost of using this router for routing to the rest of the world.
-
The default is
type1.
- type2
- The metric of a neighbor is the total cost from the redistributing routing to the rest of the world.
Modes
OSPFv3 router configuration mode
OSPFv3 router VRF configuration mode
Usage Guidelines
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.
The
no form of the command disables default route origination.
Examples
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-ipv6-router-ospf-vrf-default-vrf)# default-information-originate metric 20 metric-type type2