Chapter 7. Filtering Routes with Distribute Lists

distribute-list access-list-number in

Syntax Description:

  • access-list-number—. Standard IP access number used to determine which routes learned via OSPF will be prevented from being installed in the IP routing table. The range of access list numbers is 1–99 and 1300–2699.

Purpose: To prevent OSPF learned routes from being installed in the IP routing table. Even though an OSPF route may be prevented from being installed in the IP routing table, the route will still be in the OSPF database and advertised to OSPF neighbors. If you want to block a particular route or group of routes from entering the IP routing table, use a distribute list on all OSPF routers.

Initial Cisco IOS Software Release: 10.0

Get Cisco OSPF Command and Configuration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.