Command Line Interface
10591553-KDU 137 365 Uen D 2006-06-16
Default Setting
Disabled
Command Usage
• The metric for the default external route is used to calculate the path
cost for traffic passed from other routers within the AS out through the
ASBR.
• When this command is used to redistribute routes into a routing domain
(that is, an Autonomous System, this router automatically becomes an
Autonomous System Boundary Router (ASBR). However, an ASBR
does not, by default, generate a default route into the routing domain.
• If the always keyword is used, the router will advertise itself as a
default external route into the AS, even if a default external route
does not actually exist. (To define a default route, use the ip route
command.)
•If the always keyword is not used, the router can only advertise a
default external route into the AS if the redistribute command
is used to import external routes through RIP or static routing, and
such a route is known.
• Type 1 route advertisements add the internal cost to the external route
metric. Type 2 routes do not add the internal cost metric. When
comparing Type 2 routes, the internal cost is only used as a tie-breaker
if several Type 2 routes have the same cost.
Example
This example assigns a metric of 20 to the default external route advertised into
an autonomous system, sending it as a Type 2 external metric.
Related Commands
ip route (section 7.26.2 on page 1030)
redistribute (section 7.26.27 on page 1064)
Console(config-router)#default-information originate metric 20
metric-type 2
Console(config-router)#