IP ROUTING COMMANDS

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)#

Related Commands

ip route (4-227) redistribute (4-254)

4-249

Page 535
Image 535
SMC Networks SMC6724L3 manual 249, Ip route 4-227 redistribute