detection-time (BFD Liveness Detection)
Syntax
detection-time { threshold milliseconds; }
BGP
[edit logical-systems name protocols bgp bfd-liveness-detection], [edit logical-systems name protocols bgpgroup bfd-liveness-detection], [edit logical-systems name protocols bgp group name neighbor address bfd-liveness-detection], [edit logical-systems name routing-instances name protocols bgp bfd-liveness-detection], [edit logical-systems name routing-instances name protocols bgpgroup bfd-liveness-detection], [edit logical-systems name routing-instances name protocols bgpgroup neighbor address bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols bgp bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols bgpgroup bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols bgpgroup neighbor address bfd-liveness-detection], [edit protocols bgp bfd-liveness-detection], [edit protocols bgp group bfd-liveness-detection], [edit protocols bgp group neighbor address bfd-liveness-detection], [edit routing-instances name protocols bgp bfd-liveness-detection], [edit routing-instances name protocols bgp group bfd-liveness-detection], [edit routing-instances name protocols bgp group neighbor address bfd-liveness-detection], [edit tenants name routing-instances name protocols bgp bfd-liveness-detection] [edit tenants name routing-instances name protocols bgp group bfd-liveness-detection] [edit tenants name routing-instances name protocols bgp groupneighbor address bfd-liveness-detection]
EVPN, L2VPN, VPLS
[edit logical-systems name routing-instances name protocols (evpn | l2vpn | vpls) oam bfd-liveness-detection], [edit logical-systems name routing-instances name protocols (evpn | l2vpn | vpls) neighbor neighbor-id oam bfd-liveness-detection], [edit logical-systems name routing-instances name protocols (evpn | l2vpn | vpls)mesh-group mesh-group-name neighbor neighbor-id oam bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols (evpn | l2vpn | vpls) oam bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols (evpn | l2vpn | vpls)neighbor neighbor-id oam bfd-liveness-detection], [edit logical-systems name tenants name routing-instances name protocols (evpn | l2vpn | vpls)mesh-group mesh-group-name neighbor neighbor-id oam bfd-liveness-detection], [edit routing-instances name protocols (evpn | l2vpn | vpls) oam bfd-liveness-detection], [edit routing-instances name protocols (evpn | l2vpn | vpls) neighbor neighbor-id oam bfd-liveness-detection], [edit routing-instances name protocols (evpn | l2vpn | vpls)mesh-group mesh-group-name neighbor neighbor-id oam bfd-liveness-detection], [edit tenants name routing-instances name protocols (evpn | l2vpn | vpls) oam bfd-liveness-detection], [edit tenants name routing-instances name protocols (evpn | l2vpn | vpls) neighbor neighbor-id oam bfd-liveness-detection], [edit tenants name routing-instances name protocols (evpn | l2vpn | vpls)mesh-group mesh-group-name neighbor neighbor-id oam bfd-liveness-detection],
Description
启用 BFD 故障检测。BFD 故障检测计时器是自适应的,可调整为更快或更慢。BFD 故障检测计时器值越低,故障检测速度越快,反之亦然。例如,如果邻接发生故障(即,计时器检测到故障速度更慢),则计时器可适应更高的值。或者,相邻节点可以比配置的值协商更高的定时器值。当 BFD 会话封盖在15秒内出现三次以上时,计时器可适应更高的价值。如果本地 BFD 实例是会话封盖的原因,则备份算法将接收(Rx)间隔增加两个。如果远程 BFD 实例是会话封盖的原因,则传输(Tx)间隔增加了两个。您可以使用clear bfd adaptation
命令将 BFD 间隔计时器返回到其配置值。此clear bfd adaptation
命令为无中断,表示命令不影响路由设备上的信息流。
从 Junos OS 版20.3R1,我们支持在带 SPC3 卡的 SRX5000 系列设备上进行 BFD 故障检测的分布式模式。分布式模式提供 300 (3 x 100) 毫秒的更快 BFD 故障检测。当配置小于 500 毫秒的 BFD 故障检测计时器值时,您可以启用分布式模式。
从 Junos OS 21.1R1 版本开始,我们支持 SRX1500、SRX4100、SRX4200 和 SRX4600 上的 BFD 分布式模式。此模式提供更快的 BFD 故障检测时间 3 x 300 毫秒。
要优化和性能增强,您必须将 BFD 故障检测计时器值配置为 50 毫秒的倍数。
Options
阈值 毫秒 |
指定适应 BFD 会话检测时间的阈值。当检测时间适应等于或大于阈值的值时,将发送单个陷阱和一个系统日志消息。 注:
阈值必须等于或大于传输间隔。 阈值时间必须等于或大于在
|
Required Privilege Level
路由 — 在配置中查看此语句。
路由控制 - 要将此语句添加至配置中。
Release Information
在 8.2 Junos OS中引入的语句。
支持 Junos OS 版本9.6 中引入的 BFD 认证。