路由信息获取方法及网络设备技术

技术编号:6087496 阅读:305 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供一种路由信息获取方法及网络设备。该方法包括:将IP?RIB中优选的IGP路由信息引入BGP?RIB中;接收BGP路由信息;根据协议内选路规则,从所接收的BGP路由信息中选择一个与被引入的IGP路由信息具有相同目的地址的第一BGP路由信息;将第一BGP路由信息发送到IPRIB中。本发明专利技术的路由信息获取方法及网络设备,通过改变现有BGP选路流程,解决了BGP协议在配置BGP路由信息的协议优先级高于IGP路由信息时,因BGP路由信息和IGP路由信息出现顺序不同使得选路结果不同的问题。

Routing information acquisition method and network device

The invention provides a routing information acquisition method and a network device. The method includes: the IP? IGP routing information in RIB preferred introduced BGP? RIB; receiving BGP routing information; according to the agreement in the routing rules, first select a IGP BGP routing information and routing information is introduced from the BGP routing information in the received with the same destination; the first BGP routing information is sent to the IPRIB. Routing information acquisition method of the present invention and network equipment, by changing the existing BGP routing process, solve the BGP protocol than IGP routing information in the configuration of BGP routing information protocol priority, BGP routing information and IGP routing information in different order makes the routing result of different problems.

【技术实现步骤摘要】

【技术保护点】
1.一种路由信息获取方法,其特征在于,包括:将协议间路由信息库IP RIB中优选的内部网关协议IGP路由信息引入边界网关协议路由信息库BGP RIB中;接收边界网关协议BGP路由信息;根据协议内选路规则,从所接收的BGP路由信息中选择一个与被引入的IGP路由信息具有相同目的地址的第一BGP路由信息;将所述第一BGP路由信息发送到所述IP RIB中。

【技术特征摘要】

【专利技术属性】
技术研发人员:宋玉金王丽丽
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:94

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1