Prefix versus Access-list when distributing routes

Unanswered Question
Sep 15th, 2008
User Badges:

When advertising/distributing/redistributing routes, is there a general rule of thumb as to when to use an access-list and when to use a prefix-list?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Edison Ortiz Mon, 09/15/2008 - 15:57
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

It depends on the requirements, if you are asked to deny/permit odd/even networks, then ip access-list is the tool to use.

If you are asked to deny/permit a range of networks you have more flexibility with ip prefix-list

For instance,

ip prefix-list NETPRO deny ge 25

This ip prefix list is configured to deny routes from the network that have a mask length that is greater than or equal to 25 bits

Kind of hard to do the same while using ip access-list

Know both tools and you make the case which one to use more effectively. I've also read ip prefix-list are processed faster by the hardware.





This Discussion