LevelOne GTL-2691 User Manual

Page 1478

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1478 –

◆

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.

◆

This command should not be used to generate a default route for a stub

or NSSA. To generate a default route for these area types, use the

area

stub

or

area nssa

commands.

E

XAMPLE

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

R

ELATED

C

OMMANDS

ip route (1448)

redistribute (1524)

Advertising