22-60
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 22 Configuring IP Unicast Routing
Configuring Protocol-Independent Features
You can distribute routes from one routing domain into another and control route distribution.
Beginning in privileged EXEC mode, follow these steps to control route redistribution. Note that the
keywords are the same as defined in the previous procedure.
To disable redistribution, use the no form of the commands.
The metrics of one routing protocol do not necessarily translate into the metrics of another. For example,
the RIP metric is a hop count, and the IGRP metric is a combination of five qualities. In these situations,
an artificial metric is assigned to the redistributed route. Uncontrolled exchanging of routing information
between different routing protocols can create routing loops and seriously degrade network operation.
If you have not defined a default redistribution metric that replaces metric conversion, some automatic
metric translations occur between routing protocols:
•
RIP can automatically redistribute static routes. It assigns static routes a metric of 1 (directly
connected).
•
IGRP can automatically redistribute static routes and information from other IGRP-routed
autonomous systems. IGRP assigns static routes a metric that identifies them as directly connected.
It does not change the metrics of routes derived from IGRP updates from other autonomous systems.
•
Any protocol can redistribute other routing protocols if a default mode is in effect.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router {rip | ospf | igrp | eigrp}
Enter router configuration mode.
Step 3
redistribute protocol [process-id] {level-1 | level-1-2 |
level-2} [metric metric-value] [metric-type type-value]
[match internal | external type-value] [tag tag-value]
[route-map map-tag] [weight weight] [subnets]
Redistribute routes from one routing protocol to
another routing protocol.
Step 4
default-metric number
Cause the current routing protocol to use the same
metric value for all redistributed routes (RIP and
OSPF).
Step 5
default-metric bandwidth delay reliability loading mtu
Cause the IGRP or EIGRP routing protocol to use the
same metric value for all non-IGRP redistributed
routes.
Step 6
no default-information {in | out}
Disable the redistribution of default information
between IGRP processes, which is enabled by default.
Step 7
end
Return to privileged EXEC mode.
Step 8
show route-map
Display all route maps configured or only the one
specified to verify configuration.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.