OSPF Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
30.21
default-information originate
This command creates a default external route into an OSPF routing domain.
When you use the
default-information originate
command to redistribute routes into an
OSPF routing domain, then the system acts like an Autonomous System Boundary Router
(ASBR) . An ASBR does not by default, generate a default route into the OSPF routing domain.
When using this command, also specify the
route-map WORD
option to avoid a
dependency on the default network in the routing table.
The
metric-type
is an external link type associated with the default route advertised into the
OSPF routing domain. The value of the external route could be either Type 1 or 2; the default
is the Type 2.
The
no
form of this command disables this feature.
Syntax
default-information originate {always|<metric>|route-map <word>}
no default-information originate
Mode
Router mode
Examples
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
default-information originate always
metric 23 metric-type 2 route-map myinfo
Related Commands
route-map
Parameter
Description
always
Used to advertise the default route regardless of whether there is a
default route.
<metric>
The external or internal metric. Specify one of the following formats:
metric <0-16777214>
The metric value used in creating the
default route. The default metric value is 10.
The value used is specific to the protocol.
metric-type <1-2>
External metric type for default routes,
either OSPF External Type 1 or Type 2
metrics.
route-map
Specifies to use a specific route-map.
<word>
The route-map name.
It is a string comprised
of any characters, numbers or symbols.