Microsoft ES4649 Switch User Manual


 
IP Routing Commands
4-267
4
default-information originate
This command generates a default external route into an autonomous system. Use
the no form to disable this feature.
Syntax
default-information originate [always] [metric interface-metric]
[metric-type metric-type]
no default-information originate
always - Always advertise a default route to the local AS regardless of
whether the router has a default route. (See “ip route” on page 4-250.)
interface-metric - Metric assigned to the default route.
(Range: 1-65535; Default: 10)
metric-type - External link type used to advertise the default route.
(Options: Type 1, Type 2; Default: Type 2)
Command Mode
Router Configuration
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 you use this command to redistribute routes into a routing domain (i.e.,
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 you use the always keyword, 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 you do not use the always keyword, the router can only advertise a
default external route into the AS if the redistribute command is used to
import external routes via 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.
Console(config-router)#default-information originate metric 20
metric-type 2
Console(config-router)#