BGP peer refusing connection

Hi guys,

I have a setup with one BGP instance and 2 peers. One peer has max prefixes limitation, and the other one advertises 15k prefixes.

Both peers work fine separately. However the limiting peer doesn’t connect if the beefy one is connected - this is how I knew about the prefix limiting. So I added an out-filter to the peer to filter just 2 prefixes that are needed for that peer, and still it doesn’t connect.

Does that mean that filter does not reduce the number of negotiated prefixes?

Sounds like you are not using any out-bound filters, and quite possibly advertising the routes you are receiving from one ISP to the other.

You need to setup filters for inbound and outbound on each of the connections to receive that you should be receiving and sending only what you should be sending.