beautypg.com

Redistribute, Redistribute 1485, Redistribute (1485) – LevelOne GTL-2691 User Manual

Page 1485

background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1485 –

redistribute

This command redistributes external routing information from other

routing protocols and static routes into an autonomous system. Use the no

form to disable this feature or to restore the default settings.

S

YNTAX

redistribute {connected | rip | static} [metric metric-value]

[metric-type type-value] [tag tag-value]

no redistribute {connected | rip | static} [metric] [metric-type]

[tag]
connected - Imports all currently connected entries.
rip - Imports entries learned through the Routing Information

Protocol.
static - Static routes will be imported into this Autonomous

System.
metric-value - Metric assigned to all external routes for the

specified protocol. (Range: 0-16777214: Default: 10)
type-value

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

route metric to external route metric.

tag-value - A tag placed in the AS-external LSA to identify a specific

external routing domain, or to pass additional information between

routers. (Range: 0-4294967295)

C

OMMAND

M

ODE

Router Configuration

D

EFAULT

S

ETTING

redistribution - none

metric-value - 10

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). If the redistribute command is used in

conjunction with the

default-information originate

command to

generate a “default” external route into the AS, the metric value

specified in this command supersedes the metric specified in the

default-information originate

command.

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