-154

redistribute

Use this command to import external routing information from other
routing domains (i.e., protocols) into the autonomous system. Use the no
form to disable this feature.
Syntax
redistribute [rip | static] [metric metric-value] [metric-type type-value]
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 rou ter supports redistribution for both RIP and static route s.
• When you redistribute external routes into an OSPF autonomous
system (AS), the router automatically becomes an autonomous s ystem
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.