Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

PBR question

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

1 REPLY
Hall of Fame Super Silver

Re: PBR question

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

101
Views
0
Helpful
1
Replies