cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
262
Views
0
Helpful
1
Replies

PBR question

The_guroo_2
Level 2
Level 2

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 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card