accepted-prefix-limit
Syntax
accepted-prefix-limit { maximum number; teardown <percentage-threshold> idle-timeout (forever | minutes); drop-excess <percentage>; hide-excess <percentage>; }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name protocols bgp family route-target], [edit logical-systems logical-system-name protocols bgp group group-name family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name protocols bgp group group-name family route-target], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family route-target], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp family route-target], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name family route-target], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name neighbor address family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name neighbor address family route-target], [edit protocols bgp family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit protocols bgp family accepted-prefix-limit (inet | inet6)(any | flow | labeled-unicast | multicast | unicast)], [edit protocols bgp family route-target], [edit protocols bgp group group-name family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit protocols bgp group group-name family route-target], [edit protocols bgp group group-name neighbor address family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit protocols bgp group group-name neighbor address family route-target], [edit routing-instances routing-instance-name protocols bgp family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit routing-instances routing-instance-name protocols bgp family route-target], [edit routing-instances routing-instance-name protocols bgp group group-name family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit routing-instances routing-instance-name protocols bgp group group-name family route-target], [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address family (inet | inet6) (any | flow | labeled-unicast | multicast | unicast)], [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address family route-target]
Description
Configure a limit to the number of prefixes that can be accepted in a BGP peer session. When that limit is exceeded, a system log message is sent.
This statement provides the ability to log a message, reset
the BGP session, or do both when the number of prefixes received from
the peer and accepted by policy exceeds a preset limit. This functionality
is identical to the prefix-limit
functionality except that
it operates against accepted prefixes rather than received prefixes.
Options
maximum number |
When you set the maximum number of prefixes, a message is logged when that number is exceeded.
|
teardown <percentage> |
(Optional) If you include the If the
|
idle-timeout (forever | timeout-in-minutes) |
(Optional) If you include the
|
drop-excess <percentage> |
(Optional) If you include the |
hide-excess <percentage> |
(Optional) If you include the To recover the routes from the hidden state, run the following commands to refresh the routes and get a complete re-evaluation of the routes:
|
You can include either the teardown
<percentage>
, drop-excess
<percentage>
, or hide-excess
<percentage>
statement option one at a
time.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.2.
drop-excess <percentage>
and
hide-excess <percentage>
options are
introduced in Junos OS Release 21.2.
drop-excess <percentage>
and
hide-excess <percentage>
options are
introduced in Junos OS Evolved Release 21.3R1.