C613-50170-01 Rev B
Command Reference for x510 Series
997
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF C
OMMANDS
DEFAULT
-
INFORMATION
ORIGINATE
default-information originate
Overview
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). By default, an ASBR does not generate a default
route into the OSPF routing domain.
When using this command, also specify the
route-map <
route-map
>
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 Type 2.
The
no
variant of this command disables this feature.
Syntax
default-information originate [always] [metric
<metric>
]
[metric-type
<1-2>
] [route-map <
route-map
>]
no default-information originate [always] [metric]
[metric-type] [route-map]
Mode
Router Configuration
Example
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
Parameter
Description
always
Used to advertise the default route regardless of whether
there is a default route.
<metric>
The metric value used in creating the default route. Enter a
value in the range 0 to 16777214.
The default metric value is 10. The value used is specific to
the protocol.
<1-2>
External metric type for default routes, either OSPF External
Type 1 or Type 2 metrics. Enter the value 1 or 2.
route-map
Specifies to use a specific route-map.
<route-map>
The route-map name. It is a string comprised of any
characters, numbers or symbols.