CLI Reference Guide-R07

Table Of Contents
Chapter 28
| IP Routing Commands
Routing Information Protocol (RIP)
– 695 –
Example
Console(config-router)#passive-interface vlan 1
Console(config-router)#
Related Commands
neighbor (693)
redistribute This command imports external routing information from other routing domains
(that is, directly connected routes, protocols, or static routes) into the autonomous
system. Use the no form to disable this feature.
Syntax
[no] redistribute (connected | static} [metric metric-value]
connected - Imports routes that are established automatically just by
enabling IP on an interface.
static - Static routes will be imported into this routing domain.
metric-value - Metric value assigned to all external routes for the specified
protocol. (Range: 1-16)
Default Setting
redistribution - none
metric-value - set by the default-metric command
Command Mode
Router Configuration
Command Usage
When a metric value has not been configured by the redistribute command,
the default-metric command sets the metric value to be used for all imported
external routes.
A route metric must be used to resolve the problem of redistributing external
routes with incompatible metrics.
It is advisable to use a low metric when redistributing routes from another
protocol into RIP. Using a high metric limits the usefulness of external routes
redistributed into RIP. For example, if a metric of 10 is defined for redistributed
routes, these routes can only be advertised to routers up to 5 hops away, at
which point the metric exceeds the maximum hop count of 15. By defining a
low metric of 1, traffic can follow a imported route the maximum number of
hops allowed within a RIP domain. However, using a low metric can increase
the possibility of routing loops For example, this can occur if there are multiple
redistribution points and the router learns about the same external network
with a better metric from a redistribution point other than that derived from
the original source.