How to Limit BGP route Prefix on OS7

Hello

Today I have a question about how to limiting BGP route prefix on Mikrotik OS7. I want to know how to do it. Because I tried on OS6, there is a Limit Prefix option, but on OS7, I don’t see it. So I want to ask everyone how to use Limit Route BGP limit.

Thank you everyone.

You can Try this:

.limit-process-routes-ipv4 (integer; Default: )
Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session “clear” command must be used to reset the flag if the limit is reached.

.limit-process-routes-ipv6 (integer; Default: )
Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session “clear” command must be used to reset the flag if the limit is reached.


#Sample Command:

/routing/bgp/connection 
add name=Demo_Conncection remote.address=192.168.1.2 as=65531 local.role=ebgp .limit-process-routes-ipv4=100

Thankyou somuch

Welcome :smiley: :slight_smile: