22-62
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 22 Configuring IP Unicast Routing
Configuring Protocol-Independent Features
Controlling Advertising and Processing in Routing Updates
You can use the distribute-list router configuration command with access control lists to suppress routes
from being advertised in routing updates and to prevent other routers from learning one or more routes.
When used in OSPF, this feature applies to only external routes, and you cannot specify an interface
name.
You can also use a distribute-list router configuration command to avoid processing certain routes listed
in incoming updates. (This feature does not apply to OSPF.)
Beginning in privileged EXEC mode, follow these steps to control the advertising or processing of
routing updates:
Use the no distribute-list in router configuration command to change or cancel a filter. To cancel
suppression of network advertisements in updates, use the no distribute-list out router configuration
command.
Filtering Sources of Routing Information
Because some routing information might be more accurate than others, you can use filtering to prioritize
information coming from different sources. An administrative distance is a rating of the trustworthiness
of a routing information source, such as a router or group of routers. In a large network, some routing
protocols can be more reliable than others. By specifying administrative distance values, you enable the
router to intelligently discriminate between sources of routing information. The router always picks the
route whose routing protocol has the lowest administrative distance.
Table 22-11 on page 22-56
shows
the default administrative distances for various routing information sources.
Because each network has its own requirements, there are no general guidelines for assigning
administrative distances.
Beginning in privileged EXEC mode, follow these steps to filter sources of routing information:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router {rip | ospf | igrp | eigrp}
Enter router configuration mode.
Step 3
distribute-list {access-list-number |
access-list-name} out [interface-name | routing
process | autonomous-system-number]
Permit or deny routes from being advertised in routing
updates, depending upon the action listed in the access list.
Step 4
distribute-list {access-list-number |
access-list-name} in [type-number]
Suppress processing in routes listed in updates.
Step 5
end
Return to privileged EXEC mode.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router {rip | ospf | igrp | eigrp}
Enter router configuration mode.