The invention relates to a device for processing the router neighbor discovery entry, the device includes a microcode forwarding module in use for neighbor discovery entries for packet forwarding, the ND to use count; forwarding table management module, for counting ND entries to ND protocol module; ND protocol module, used in the ND entry just as the old state, through the ND to count the forwarding management module reads the card and accumulated, and in the ND entry for the old state after a specified period of time, read the card again to the ND count and cumulative cumulative results were compared before and after the two reads the ND entries, if accumulated before and after two read the ND entry results, the aging delete ND entries. In addition, the invention also provides a method for processing the neighbor discovery entries of the routers. Through the technical proposal of the invention, the normal aging of the ND articles is guaranteed, and the phenomenon of packet loss is prevented.
【技术实现步骤摘要】
【技术保护点】
1.一种路由器邻居发现条目处理的装置,其特征在于,所述装置包括,微码转发模块,用于在使用邻居发现条目进行报文转发时,对该邻居发现条目的使用进行计数;转发表管理模块,用于向邻居发现协议模块提供邻居发现条目的计数;邻居发现协议模块,用于在邻居发现条目刚变为陈旧状态时,通过转发表管理模块读取各线卡的该邻居发现条目的计数并累加,且在邻居发现条目为陈旧状态特定时间后,再次读取各线卡的该邻居发现条目的计数并累加,比较前后两次读取的邻居发现条目的累加结果,若前后两次读取的邻居发现条目的累加结果一致,则将该邻居发现条目老化删除。
【技术特征摘要】
【专利技术属性】
技术研发人员:李洪涛,金飞蔡,
申请(专利权)人:中兴通讯股份有限公司,
类型:发明
国别省市:94
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。