Hi Silkofix
Greetings,
Basically, without that command, you will have a hardware limitation in case that there are tons of routed been received by these devices. The RE you have as 64-bit supports up to RIB 12,000,000 and FIB 5,000,000. We need to keep in mind that those values were taken from dedicated LABs and this varies from the real scenarios where different features are implemented at the same time.
The document below will help us to see the interpretation of the knob in question “prefix-limit maximum” and I will quote and commend from the document itself.
Description
Limit the number of prefixes received on a BGP peer session and a rate-limit logging when injected prefixes exceed a set limit.
We can explicily configure the maximum of prefixes installed from the peer
maximum number—When you set the maximum number of prefixes, a message with peer address, address family and instance name is logged when that number is exceeded.
This will add a notification under the log messages
teardown <percentage>—If you include the teardown statement, the session is torn down when the maximum number of prefixes is exceeded. If you specify a percentage, messages are logged when the number of prefixes exceeds that percentage.
This is a percentage of prefixes that will be installed while raising a flag in the log messages, this is mostly like a notification.
After the session is torn down, it is reestablished in a short time unless you include the idle-timeout statement.
This will be explicit amount of time that will be used as a reference to keep the session down before coming up again. This is in minutes in a range of 1 - 2400
If you specify forever, the session is reestablished only after you issue a clear bgp neighborcommand.
Idle-timeout has the option and this option means that the session will be keep down untill the user interfeers.
https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/prefix-limit-edit-protocols-bgp.html
set routing-instances iad2-fe protocols bgp group LEVEL3_V4 family inet any prefix-limit maximum 1000000
set routing-instances iad2-fe protocols bgp group LEVEL3_V6 family inet6 any prefix-limit maximum 1000000
Please mark "Accepted Solution" if this helps you solve your query. Kudos are always appreciated.
Thanks
Suraj