Chapter 50
| IP Routing Commands
Routing Information Protocol (RIP)
– 987 –
â—† The default 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, note that 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.
Example
This example sets the default metric to 5.
Console(config-router)#default-metric 5
Console(config-router)#
Related Commands
redistribute (991)
distance This command defines an administrative distance for external routes learned from
other routing protocols. Use the no form to restore the default setting.
Syntax
[no] distance distance network-address netmask
distance - Administrative distance for external routes. External routes are
routes for which the best path is learned from a neighbor external to the
local RIP autonomous system. Routes with a distance of 255 are not
installed in the routing table. (Range: 1-255)
network-address - IP address of a route entry.
netmask - Network mask for the route. This mask identifies the network
address bits used for the associated routing entries.
Default Setting
None
Command Mode
Router Configuration