top of page
© Copyright not allowed
Writer's pictureTechclick co_in

Difference between Access list and prefix list

access list vs prefix listi  came across a sentence in bgp that in bgp access list are used for traffic filtering and prefix list is used for route filtering . Is this statement correct? If we refer to below two commands:access-list 10 deny 10.1.0.0 0.0.255.255ip prefix-list prefiz deny 10.1.0.0/16these two commands are doing the same things so why use prefix list for route filtering we can use access list for  filteringAlso there is one more statement that  if we have same prefix but different subnet mask access list falls apart and we need to use prefix listeg:we have two routes coming from same neighbor28.119.16.0/24 and 28.119.16.0/23 in this case it is recommended to use prefix list but if i use access list (access-list 1 28.119.16.0 0.0.1.0) should it not filter out the /23 route and keep /24 route

0 views0 comments

Recent Posts

See All

Acess-List In Network Security

Packets are compared to the access lists sequentially until a match is found. If no match is found, the packet is discarded. Access lists...

bottom of page