The invention discloses a method and a device for processing a link fault, relating to the technical field of network communication, and solving the problem that the router CPU is overloaded and the network bandwidth is occupied in the process of link detection. In the invention, because the router receives the link failure detection protocol to generate neighbours can not notice, still remain with the neighbor node link failure occurs between neighbors, that is not the removal of the neighbor nodes, only to the normal neighbor informed of the occurrence of the neighbor node link fault in fault state, and if the timeout receive send the neighbor node link fault of the neighbor discovery message, directly to the normal neighbor neighbor node the link fault notification back to normal state, therefore, to solve the chain road unstable when the router repeatedly execute the interrupt and rebuild the neighbor relationship operation in a short period of time, resulting in the CPU router is overloaded and the network bandwidth is occupied by a large number of problems.
【技术实现步骤摘要】
【技术保护点】
1.一种链路故障处理方法,其特征在于,包括:接收邻居不可达通知,所述邻居不可达通知由链路故障检测协议在检测到邻居节点发生链路故障后生成;向正常邻居节点通报所述发生链路故障的邻居节点处于故障状态;若在路由协议的超时时间内接收到所述发生链路故障的邻居节点发送的邻居发现报文,则向所述正常邻居节点通报所述发生链路故障的邻居节点恢复正常状态。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。