节点文献

BGP路由配置文件检查工具的设计与实现

Design and Implementation of Checker for BGP Routing Configuration File

【作者】 宿晓丹

【导师】 雷友珣;

【作者基本信息】 北京邮电大学 , 计算机科学与技术, 2010, 硕士

【摘要】 在过去几十年里,Internet的规模和复杂程度经历了爆炸式的增长。从管理的角度来看,Internet由成千上万的自治系统(Autonomous Ayatem, AS)组成,这些AS之间通过BGP (Border Gateway Protocol,边界网关协议)相互交换网络层可达信息。BGP是基于策略的路由选择协议,其策略通过域内每一个路由器配置文件进行配置。BGP路由器的本地配置错误可能会对自治系统甚至整个网络产生全局性影响,例如导致路由循环、无效路由和持久性路由振荡等现象。因此确保实施到现行网络的BGP路由配置的正确性显得十分重要。本文详细分析了BGP路由配置文件中容易出现的词法、语法和语义错误,并介绍了路由选择协议应当满足路径可见性、路由有效性和安全性三种属性,同时针对能引发路径可见性故障和路由有效性故障的语义配置错误进行了重点描述。本文具体实现了一种检查BGP路由配置文件的工具,该工具能通过对BGP路由配置文件的静态检查发现潜在错误。结合Cisco路由器的BGP配置命令,本文论述了BGP路由配置文件检查工具的设计思想、功能模块划分及主要功能的实现方法。该工具主要分为配置文件管理模块、词法和语法检查模块、语义检查模块和配置错误查看模块四个部分。BGP路由配置文件检查工具经过对BGP配置文件进行词法、语法及语义上的静态检查,能有效地检查出BGP路由配置错误,保证网络的安全性和稳定性。

【Abstract】 In the past decades, the scale and complexity of the Internet have increased at an unprecedented rate. The Internet is composed of thousands of independent autonomous systems that exchange reachability information to destinations using Border Gateway Protocol. BGP is a policy-based routing protocol, network operators use router configurations to provide reachability and to express routing policy, and the configuration is distributed across routers. Operator-induced configuration fault, such as routing loop, invalid routes and persistently oscillating routes, are perhaps the biggest threat to a single AS, even the whole Internet. Hence, it is important to develop a checker based on static analysis of the router configurations before the protocol running on a live network.In this paper, the lexical, syntax and semantic errors, which are common in the BGP routing configuration file, are described, and three properties to classify the behavior of a routing protocol:path visibility, route validity and safety, are introduced. Also, semantic errors which could cause path visibility fault and route validity fault in configuration are defined as well.This paper describes the implemention of BGP configuration checker, a tool that finds faults in BGP configurations using static analysis. In the base of Cisco router configuration syntax, the configuration checker’s design method, the design of function module and implementation of the main functions are discussed. The checker framework involves configuration file management module, lexical and syntax checker module, semantic checker module and view errors module.By using static analysis, BGP routing configuration checker can effectively detect the configuration faults in BGP configurations, guaranteeing the safety and stability of the network.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络