Skip Links

Network World

Brad Reese

Can I use the distribute-list in/out command with OSPF to filter routes?

By Brad Reese on Sun, 07/13/08 - 9:40pm.

Cisco How-To Tutorials

Configuring distribute-list commands that utilize route maps is not achieving desired Link-State Advertisement (LSA) filtering.

Open Shortest Path First Protocol (OSPF) routes cannot be filtered from entering the OSPF database.

The distribute-list in command only filters routes from entering the routing table, and it does not prevent LSA packets from being propagated.

In the route map, the user can match on any attribute of the OSPF route.

The route map could be based on these match options:

match interface
match ip address
match ip next-hop
match ip route-source
match metric
match route-type
match tag

To define a route map to prevent OSPF routes from being added to the routing table refer to:

OSPF Inbound Filtering Using Route Maps with a Distribute List

The updates or LSA can be blocked with the following command.

This works for ipv6 addresses:

distribute-list prefix-list list-name {in [interface-type interface- number]|out routing-process [as-number]}

For information about the blocking the updates or LSA that are received or sent on an interface refer to:

distribute-list prefix-list (IPv6 OSPF)


View more Cisco How-To Tutorials

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. Cisco vs. Nortel: Who's the customer support champ?
# 2. Cisco consummates agreement with legendary reseller CXtec
# 3. Cisco resume tips
# 4. Silver lining in Cisco stock decline: Tough times help Cisco gain market share
# 5. Cisco takes $78M haircut on VMware investment
Story Archives Brad Reese on Cisco Story Archives

Cisco VoIP Gateways

Cisco Power Supplies

Cisco Aironet Wireless

Cisco Refurbished Inventory Availability

  

About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable Cisco networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him at 646-827-1130.

 

Most Discussed Posts

On The Web
Twitter