- accepted-prefix-limit {
- maximum number;
- tear-down <percentage-threshold> idle-timeout (minutes | forever);
- }
- [edit protocols bgp family (inet | inet6) (any | flow |
labeled-unicast | multicast | unicast)],
- [edit logical-systems logical-system-name protocols bgp family (inet | inet6) (any | flow | labeled-unicast
| multicast | unicast)],
- [edit 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 (inet | inet6) (any | flow | labeled-unicast | multicast
| unicast)],
- [edit 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 (inet
| inet6) (any | flow | labeled-unicast | multicast | unicast)],
- [edit 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 (inet | inet6) (any
| flow | labeled-unicast | multicast | unicast)],
- [edit 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 family (inet
| inet6) (any | flow | labeled-unicast | multicast | unicast)],
- [edit 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 (inet | inet6) (any
| flow | labeled-unicast | multicast | unicast)],
- [edit protocols bgp family route-target],
- [edit logical-systems logical-system-name protocols bgp family route-target],
- [edit routing-instances routing-instance-name protocols bgp family route-target],
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols
bgp family route-target],
- [edit protocols bgp group group-name family route-target],
- [edit logical-systems logical-system-name protocols bgp group group-name family route-target],
- [edit 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 family route-target],
- [edit protocols bgp group group-name neighbor address family route-target],
- [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family route-target],
- [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address family route-target],
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols
bgp group group-name neighbor address family route-target]
Statement introduced in JUNOS Release 9.2.
Configure a limit to the number of prefixes that can be accepted on a BGP peering session. When that limit is exceeded, a system log message is sent. You can optionally specify to reset the BGP session when the number of accepted prefixes exceeds the specified limit.
maximum number—Limit the number of prefixes that can be accepted on a BGP peering session. A system log message is sent when that number is exceeded.
teardown <percentage>—Specify to reset the BGP peering session when the specified limit to the number of prefixes that can be accepted is exceeded. If you specify a percentage, a system log message is sent when the accepted number of prefixes on the BGP session exceeds the specified percentage of the configured limit. After a BGP session is reset, it is reestablished within a short time unless you include the idle-timeout statement.
idle-timeout (minutes | forever)—Specify not to reestablish a BGP session that has been reset until the after the specified timeout period. Include the forever option to prevent the BGP session from being reestablished until you issue the clear bgp neighbor command.
See Limiting the Number of Prefixes Accepted on a BGP Peering Session.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.