Area configuration, Area stub – LevelOne GTL-2691 User Manual

Page 1525

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv3)

– 1525 –

type-value

1 - Type 1 external route
2 - Type 2 external route (default) - Routers do not add internal

route metric to external route metric.

C

OMMAND

M

ODE

Router Configuration

D

EFAULT

S

ETTING

redistribution - none

metric-value - 20

type-metric - 2

C

OMMAND

U

SAGE

This command is used to import routes learned from other routing

protocols into the OSPF domain, and to generate AS-external-LSAs.

When you redistribute external routes into an OSPF autonomous

system (AS), the router automatically becomes an autonomous system

boundary router (ASBR).

Metric type specifies the way to advertise routes to destinations outside

the AS through External LSAs. When a Type 1 LSA is received by a

router, it adds the internal cost to the external route metric. In other

words, the cost of the route from any router within the AS is equal to

the cost associated with reaching the advertising ASBR, plus the cost of

the external route. When a Type 2 LSA is received by a router, it only

uses the external route metric to determine route cost.

E

XAMPLE

This example redistributes automatically connected routes as Type 1

external routes.

Console(config-router)#redistribute connected metric-type 1

Console(config-router)#

Area Configuration

area stub

This command defines a stub area. To remove a stub, use the no form

without the optional keyword. To remove the summary attribute, use the

no form with the summary keyword.

S

YNTAX

[no] area area-id stub [no-summary]

area-id - Identifies the stub area. The area ID can be in the form of

an IPv4 address or as a four octet unsigned integer ranging from

0-4294967295.

Advertising