PBR question

Unanswered Question
Oct 9th, 2008

guys one way of controlling routes is using a distribute list. now i have abasic question abt distribute list.

when we use distribute list we can use it with prefix-list or access-list is it same or both has got some different purpose for example

whats the difference between following

router eigrp

network x.x.x.x

distribute-list prefix myroutes in serial0/0

ip prefix-list myroutes permit x.x.x.x

and if i use

distribute-list 10 in serial 0/0

ip access-list 10 permit X.X.X.X

just wanna know the basic difference

thanks for looking guys

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Thu, 10/09/2008 - 05:31

Hello Khan,

prefix-list allows to make additional checks like permitting IP subnets with IP prefixlen within a range (24-27) all part of a given IP block.

In your case the behaviour is the same because you don't use these features.

example:

accept component subnets of net 10.6.0.0/16 with prefixlen between 23 and 29

ip prefix-list subnets10-6-selected permit 10.6.0.0/16 ge 23 le 29

to do this normal ACL you need to use extended ACL and use tricks

note: this is not an example of PBR the title of the thread is misleading

Hope to help

Giuseppe

Actions

This Discussion