%Oct 8 20:33:32:050 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.4 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 01:29:02:895 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.4 state has changed from OPENCONFIRM to ESTABLISHED.
%Oct 9 01:37:15:206 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.4 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 03:35:26:347 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.4 state has changed from OPENCONFIRM to ESTABLISHED.
%Oct 9 09:35:25:084 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.2 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:29:957 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.3 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:30:740 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.1 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:35:113 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.18.56.4 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:42:455 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.19.56.2 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:46:143 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.19.56.1 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:35:49:556 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.19.58.254 state has changed from ESTABLISHED to IDLE for TCP_Connection_Failed event received.
%Oct 9 09:36:41:154 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.20.0.142 state has changed from ESTABLISHED to IDLE for hold timer expiration caused by peer device.
%Oct 9 09:41:27:161 2024 FJ.JZ.FJY.RT.02 BGP/5/BGP_STATE_CHANGED:
BGP.: 172.20.0.142 state has changed from OPENCONFIRM to ESTABLISHED.
(0)
· hold timer expiration caused by peer device:由对端设备造成的会话保持定时器超时
1、当BGP邻居出现因tcp链接的原因中断时,建议打开tcp的debug打印,可以初步确认TCP断开的原因,并获取下一步分析方向
2、当BGP邻居出现震荡时,需要两端设备配合进行排查,而不是单一方分析,否则容易出现事倍功半的情况。
(0)
这些日志表明你的路由器与多个BGP(边界网关协议)对等体(如IP地址为172.18.56.4
、172.18.56.2
、172.19.56.1
等)之间的会话频繁发生状态变化,尤其是从ESTABLISHED
(已建立)状态到IDLE
(空闲)状态的转换。这通常是由连接问题(如TCP连接失败)或保持计时器(hold timer)超时等原因导致的,这些问题会影响BGP会话的稳定性。
以下是可能的原因及排查建议:
TCP连接失败: 这是最常见的BGP会话问题,可能是由于网络链路不稳定、配置错误或两端资源问题导致的。你可以检查BGP对等体之间的网络连通性(例如ping测试、traceroute路径追踪),并验证是否有防火墙或ACL(访问控制列表)规则阻挡了BGP使用的TCP 179端口。
保持计时器超时: 如果对等体在规定的时间内没有收到keepalive(保活)消息,BGP会话就会超时。这通常是由于对等体之间的配置不同步或者网络延迟较大。建议检查BGP对等体的配置,确保双方的计时器参数(hold time等)一致。
BGP对等体抖动(flapping):
会话不断从ESTABLISHED
状态变为IDLE
,再回到OPENCONFIRM
状态,表明对等体之间的链路可能不稳定,或者配置存在问题(如自治系统号ASN不匹配等)。可以进一步检查对等体的稳定性和配置。
查看对等体日志: 如果可以,收集并查看对等体设备的日志,确认是否也出现了类似的连接失败问题,这样可以帮助你更准确地找到问题根源。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论