To enable generation of a default external route into an OSPF routing domain and configure other parameters related to that area, use the command default-information in OSPF Router Configuration Mode. The no form of the command disables generation of a default external route into an OSPF routing domain.
Parameter | Type | Description |
---|---|---|
originate
|
Enter to enable generation of a default external route into an OSPF routing domain. | |
always
|
Enter to configure advertising of the default route always regardless of whether the software has a default route. | |
metric
|
Enter to configure to set the Metric value applied to the route before it is advertised into the OSPF Domain Metric used for generating the default route. | |
<metric-value (0-16777215)>
|
Integer | Enter a metric value to be applied to the route before it is advertised into the OSPF Domain Metric used for generating the default route. If you omit a value and do not specify a value using the default-metric router configuration command, the default metric value is 1. The value used is specific to the protocol. This value ranges from 0 to 16777215. |
metric-type
|
Enter to configure a metric type to be applied to the route before it is advertised into the OSPF Domain External link type associated with the default route advertised into the OSPF routing domain. | |
<type (1-2)>]
|
Integer | Enter a metric type to be applied to the route before
it is advertised into the OSPF Domain External link type associated
with the default route advertised into the OSPF routing domain.
It can be one of the following values:
|
OSPF Router Configuration Mode
iS5Comm(config)# router ospf
iS5Comm(config-router)# default-information originate always metric 1 metric-type 1