
Command Line Interface
4-266
4
redistribute
This command imports external routing information from other routing domains (i.e.,
protocols) into the autonomous system. Use the
no
form to disable this feature.
Syntax
[
no
]
redistribute
[
rip
|
static
] [
metric
metric-value
] [
metric-type
type-value
]
•
rip
- External routes will be imported from the Routing Information Protocol
into this Autonomous System.
•
static
- Static routes will be imported into this Autonomous System.
•
metric-value
- Metric assigned to all external routes for the specified
protocol. (Range: 1-65535: 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.
Command Mode
Router Configuration
Default Setting
redistribution - none
protocol - RIP and static
metric-value - 0
type-metric - 2
Command Usage
• This router supports redistribution for both RIP and static routes.
• 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 via External LSAs. Specify Type 1 to add the internal cost metric 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. Specify Type 2 to only advertise the
external route metric.
Example
This example redistributes routes learned from RIP as Type 1 external routes.
Related Commands
default-information originate (4-262)
Console(config-router)#redistribute rip metric-type 1
Console(config-router)#
Summary of Contents for ES4612
Page 2: ......
Page 4: ...ES4612 F1 0 2 5 E092004 R01 150000046400A ...
Page 38: ...Introduction 1 10 1 ...
Page 48: ...Initial Configuration 2 10 2 ...
Page 269: ...IP Routing 3 221 3 Web Click Routing Protocol RIP Statistics Figure 3 130 RIP Statistics ...
Page 314: ...Configuring the Switch 3 266 3 ...
Page 644: ...Command Line Interface 4 330 4 ...
Page 658: ...Glossary Glossary 8 ...
Page 664: ...Index 6 Index ...
Page 665: ......
Page 666: ...ES4612 E092004 R01 150000046400A ...