accepted-prefix-limit
语法
accepted-prefix-limit { maximum number; teardown <percentage-threshold> idle-timeout (forever | minutes); drop-excess <percentage>; hide-excess <percentage>; }
层次结构级别
[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]
描述
配置 BGP 对等体会话中可接受的前缀数限制。当超过该限制时,将发送系统日志消息。
当从对等方接收并被策略接受的前缀数超过预设限制时,此语句提供记录消息和/或重置 BGP 会话的功能。此功能与该 prefix-limit
功能相同,不同之处在于它针对接受的前缀而不是接收到的前缀执行操作。
选项
maximum number |
当您设置最大前缀数时,当超过该数时,将记录一条消息。
|
teardown <percentage> |
(选答)如果包含该 如果未配置语
|
idle-timeout (forever | timeout-in-minutes) |
(选答)如果包含该
|
drop-excess <percentage> |
(选答)如果包含该 |
hide-excess <percentage> |
(选答)如果包含该 要从隐藏状态恢复路由,请运行以下命令刷新路由并重新评估路由:
|
您可以一次包含 teardown <percentage>
一个、 drop-excess <percentage>
或 hide-excess <percentage>
语句选项。
所需权限级别
路由 — 要在配置中查看此语句。
routing-control - 将此语句添加到配置中。
发布信息
在 Junos OS 9.2 版 中引入的语句。
drop-excess <percentage>
hide-excess <percentage>
和 选项是在 Junos OS 21.2 版 中引入的。
drop-excess <percentage>
hide-excess <percentage>
和 选项是在 Junos OS 演化版 21.3R1 中引入的。