cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
516
Views
0
Helpful
2
Replies

BGP-filtering

Hi,

In the following link page 15

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/26634-bgp-toc.pdf?dtid=osscdc000283

It talks about 129.213.1.0 but access-list permits 175.220.0.0 0.0.255.255 . Why?

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello miracle_david@yahoo.com ,

the reason is that the local router owns the prefixes in 175.220.0.0/16.

By using an ACL like that the author is using the implicit deny any at the end of the ACL to filter the prefixes that are not locally generated.

There are other ways to achieve the same result.

The most elegant solution is allowing routes with an empty AS path (the check on the AS path attribute is performed before sending to an eBGP peer that causes the addition of the local AS number in the leftmost position on the AS path so matching on an empty AS path means match locally generated routes in this router and in all routers in the same AS)

 

Hope to help

Giuseppe

 

Abzal
Level 7
Level 7

Hi miracle_david@yahoo.com 

@Giuseppe Larosa gave you perfect explanation.

 

To avoid such scenarios it's recommended to apply appropriate filters or tags to allow redistribution of only internal routes.

Best regards,
Abzal
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