基于TTCN-3的OSPFL3VPN路由協(xié)議一致性測(cè)試技術(shù)研究
本文關(guān)鍵詞: TTCN-3 OSPF MPLS L3VPN 一致性測(cè)試 LSA 出處:《西安電子科技大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著大型互聯(lián)網(wǎng)絡(luò)規(guī)模的不斷擴(kuò)大,用戶對(duì)網(wǎng)絡(luò)資源的需求一直在促進(jìn)路由技術(shù)和路由設(shè)備的發(fā)展,路由器/交換機(jī)設(shè)備在承載網(wǎng)絡(luò)流量方面起著越來越重要的作用。網(wǎng)絡(luò)組網(wǎng)和網(wǎng)絡(luò)協(xié)議越來越復(fù)雜,不同的廠商針對(duì)不同的協(xié)議可能有不同的實(shí)現(xiàn)方法,一個(gè)有誤的協(xié)議報(bào)文可能會(huì)引起很嚴(yán)重的網(wǎng)上問題,給網(wǎng)絡(luò)的穩(wěn)定性帶來威脅。因此路由協(xié)議的高效穩(wěn)定性成為保障提高并改善網(wǎng)絡(luò)性能的重要因素,這就要求我們尋找到合適有效的測(cè)試方法對(duì)網(wǎng)絡(luò)中所運(yùn)行的各種網(wǎng)絡(luò)協(xié)議進(jìn)行一致性測(cè)試。TTCN-3(Testing and Test Control Notation,測(cè)試與測(cè)試控制表達(dá)法第三版)作為協(xié)議一致性測(cè)試領(lǐng)域里標(biāo)準(zhǔn)化的測(cè)試抽象語言,具有強(qiáng)大的信息匹配機(jī)制、測(cè)試用例判決機(jī)制、時(shí)鐘功能、編解碼信息功能并且能與其它的高級(jí)程序語言結(jié)合使用,這些特點(diǎn)使得TTCN-3滿足設(shè)備商對(duì)產(chǎn)品的網(wǎng)絡(luò)協(xié)議實(shí)現(xiàn)一致性測(cè)試的需求。MPLS L3VPN(Multi-Protocol Label Switching Layer3 Virtual Private Network,多協(xié)議標(biāo)簽交換第三層虛擬專用網(wǎng)絡(luò))技術(shù)是服務(wù)提供商VPN解決方案中的一種基于PE(Provider Edge,服務(wù)提供商邊緣路由器)的L3VPN技術(shù),它使用BGP(Border Gateway Protocol,邊界網(wǎng)關(guān)協(xié)議)技術(shù)在服務(wù)提供商骨干網(wǎng)上發(fā)布VPN路由,使用MPLS技術(shù)轉(zhuǎn)發(fā)VPN報(bào)文。OSPF(Open Shortest Path First,最短路徑優(yōu)選)支持多實(shí)例,由于OSPF路由協(xié)議本身比較復(fù)雜而且追求完美的特點(diǎn),使得OSPF應(yīng)用在MPLS VPN體系中時(shí),可以提供更加豐富和安全的方式。MPLS L3VPN組網(wǎng)方式靈活、可擴(kuò)展性好,在計(jì)算機(jī)網(wǎng)絡(luò)中的應(yīng)用越來越廣泛。本文首先對(duì)涉及到的一些關(guān)鍵的背景技術(shù)進(jìn)行概述,包括協(xié)議一致性測(cè)試原理,TTCN-3測(cè)試語言,OSPF以及OSPF L3VPN的基本原理。然后舉例分析了OSPF的交互報(bào)文格式和幾種常用的LSA(Link-State Advertisement,鏈路狀態(tài)通告)的格式,并結(jié)合實(shí)習(xí)所做的工作內(nèi)容以及RFC標(biāo)準(zhǔn)文檔對(duì)測(cè)試需求進(jìn)行分析,設(shè)計(jì)出測(cè)試用例和測(cè)試拓?fù)浣Y(jié)構(gòu),得出OSPF L3VPN的一致性測(cè)試方案。接下來按照一致性測(cè)試的方案使用TTCN、ASN.1(Abstract Syntax Notation One,抽象語法標(biāo)記)、TCL(Tool Command Language,工具命令語言)相結(jié)合,以VTP(Versatile Test Platform,通用測(cè)試平臺(tái))作為開發(fā)運(yùn)行環(huán)境,進(jìn)行一致性測(cè)試的設(shè)計(jì)工作,完成TTCN-3腳本的開發(fā)準(zhǔn)備工作,包括ASN的設(shè)計(jì)、測(cè)試端口的設(shè)計(jì)、報(bào)文模板的設(shè)計(jì)、常量定義等等。最后按照設(shè)計(jì)的相應(yīng)模板結(jié)合TTCN-3語言開發(fā)出測(cè)試方案中的測(cè)試用例,對(duì)公司主流的四種類型的設(shè)備進(jìn)行組網(wǎng),在Comware V7系統(tǒng)平臺(tái)主線項(xiàng)目版本進(jìn)行了一致性測(cè)試,運(yùn)行設(shè)計(jì)好的基于TTCN-3語言所開發(fā)的OSPF L3VPN的一致性測(cè)試套,發(fā)現(xiàn)協(xié)議以及設(shè)備相關(guān)問題,從而實(shí)現(xiàn)一致性測(cè)試的根本需求,對(duì)公司的產(chǎn)品測(cè)試項(xiàng)目驗(yàn)收時(shí)有很大的實(shí)用價(jià)值。
[Abstract]:With the continuous expansion of the scale of large-scale Internet network, users' demand for network resources has been promoting the development of routing technology and routing equipment. Router / switch equipment plays an increasingly important role in carrying network traffic. Network networking and network protocols are becoming more and more complex, and different manufacturers may have different implementation methods for different protocols. An incorrect protocol packet may cause serious problems on the network and threaten the stability of the network. Therefore, the high efficiency and stability of the routing protocol becomes an important factor to ensure and improve the performance of the network. This requires us to find a suitable and effective test method for the conformance testing of various network protocols running in the network. TTCN-3 testing and Test Control Notation.Test and Test Control (3rd Edition) as the field of protocol conformance testing. Standardized test abstract language, It has powerful information matching mechanism, test case decision mechanism, clock function, encoding and decoding information function, and can be used in combination with other advanced programming languages. These characteristics make TTCN-3 meet the requirement of conformance testing of the network protocol of the product. MPLSL3VPNN Multi-Protocol Label Switching Layer3 Virtual Private Network (MPLSL3VPNN Multi-Protocol Switching Layer3 Virtual Private Network) technology is a service provider VPN solution. A L3 VPN technology based on PE(Provider Edge. service provider edge router. It uses BGP(Border Gateway protocol (Border Gateway Protocol) technology to publish VPN routing on the backbone network of service providers, and uses MPLS technology to forward VPN packets. Because of the complexity of OSPF routing protocol and its pursuit of perfection, when OSPF is applied in MPLS VPN system, it can provide a more abundant and secure way. MPLSL3 VPN network is flexible and extensible. The application in computer network is more and more extensive. This paper first summarizes some key background technologies, The protocol conformance testing principle and the basic principle of TTCN-3 testing language and OSPF L3 VPN are discussed. Then, the interactive message format of OSPF and several commonly used LSA(Link-State advertisement (link state notification) formats are analyzed with examples. The test requirements are analyzed in combination with the work done in practice and the RFC standard document, and the test cases and test topology are designed. The conformance test scheme of OSPF L3 VPN is obtained. Then, according to the conformance test scheme, we combine the conformance testing scheme with TTCNS ASN.1n Abstract Syntax Notation one, abstract syntax tag OSPF Command language (tool command language), and take VTP(Versatile Test platform as the development and run environment. Design the conformance test, complete the development preparation of TTCN-3 script, including the design of ASN, test port, message template, Finally, according to the design template and TTCN-3 language, the test cases in the test scheme are developed, and the four main types of equipment in the company are netted, and the conformance test is carried out in the main project version of the Comware V7 system platform. Running the designed conformance test suite of OSPF L3 VPN based on TTCN-3 language, finding out the protocol and equipment related problems, realizing the basic requirement of conformance test, has great practical value for the acceptance of the product test project of the company.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.04
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 杜鴻燕;;OSPF協(xié)議Type 5 LSA的Forwarding Address屬性討論[J];中山大學(xué)學(xué)報(bào)論叢;2006年10期
2 邵國(guó)榮;;OSPF應(yīng)用研究[J];電腦知識(shí)與技術(shù);2011年14期
3 邸暉;;基于OSPF在中小企業(yè)的組網(wǎng)設(shè)計(jì)[J];山西電子技術(shù);2013年02期
4 劉炎火;;遠(yuǎn)離骨干區(qū)域的OSPF路由的配置探析[J];電腦開發(fā)與應(yīng)用;2014年02期
5 朱江,吳建平,畢軍;基于虛擬多任務(wù)機(jī)制的OSPF-2的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)工程與應(yīng)用;2001年18期
6 周海軍,王建剛,林孝康;代價(jià)自適應(yīng)OSPF[J];電信科學(xué);2003年02期
7 王震宇,謝余強(qiáng),蔣烈輝;安全OSPF算法的研究[J];計(jì)算機(jī)應(yīng)用;2003年02期
8 權(quán)兵;OSPF在浙江工行的應(yīng)用[J];中國(guó)金融電腦;2003年10期
9 武波;;OSPF路由協(xié)議使用技巧[J];金融電子化;2003年02期
10 傅泳,張宏;OSPF網(wǎng)絡(luò)設(shè)計(jì)[J];安徽科技;2004年06期
相關(guān)會(huì)議論文 前9條
1 崔寅;鄭康鋒;;OSPF協(xié)議安全性分析及改進(jìn)[A];第十三屆中國(guó)科協(xié)年會(huì)第11分會(huì)場(chǎng)-中國(guó)智慧城市論壇論文集[C];2011年
2 孔偉桐;楊家海;;基于OSPF的實(shí)時(shí)網(wǎng)絡(luò)監(jiān)控[A];2006年全國(guó)開放式分布與并行計(jì)算學(xué)術(shù)會(huì)議論文集(一)[C];2006年
3 張仁智;;城域網(wǎng)交換機(jī)OSPF協(xié)議故障案例與解析[A];第十屆中國(guó)科協(xié)年會(huì)信息化與社會(huì)發(fā)展學(xué)術(shù)討論會(huì)分會(huì)場(chǎng)論文集[C];2008年
4 楊銀見;;陜西氣象廣域網(wǎng)OSPF路由設(shè)計(jì)與實(shí)現(xiàn)[A];陜西省氣象學(xué)會(huì)2006年學(xué)術(shù)交流會(huì)論文集[C];2006年
5 尹本兵;孫斌;;一種基于信任證書管理的可信OSPF協(xié)議[A];第十三屆中國(guó)科協(xié)年會(huì)第11分會(huì)場(chǎng)-中國(guó)智慧城市論壇論文集[C];2011年
6 蔡桂林;劉亞萍;王寶生;陶孜謹(jǐn);;OSPF路由不對(duì)稱原理分析[A];2010通信理論與技術(shù)新發(fā)展——第十五屆全國(guó)青年通信學(xué)術(shù)會(huì)議論文集(下冊(cè))[C];2010年
7 顧哲光;;在光網(wǎng)絡(luò)中利用OSPF路由算法計(jì)算光路由[A];全國(guó)第十次光纖通信暨第十一屆集成光學(xué)學(xué)術(shù)會(huì)議(OFCIO’2001)論文集[C];2001年
8 丁煒;;市縣氣象廣域網(wǎng)絡(luò)動(dòng)態(tài)熱備的設(shè)計(jì)與實(shí)現(xiàn)[A];2011年中國(guó)氣象學(xué)會(huì)氣象通信與信息技術(shù)委員會(huì)暨國(guó)家氣象信息中心科技年會(huì)論文摘要[C];2011年
9 董如根;羅建國(guó);杜世曄;;省級(jí)高可靠性氣象廣域網(wǎng)的路由設(shè)計(jì)與優(yōu)化[A];S8 大氣探測(cè)與儀器新技術(shù)、新方法[C];2012年
相關(guān)重要報(bào)紙文章 前7條
1 Spirent公司 Glenn Chagnot;OSPF可伸縮性測(cè)試[N];網(wǎng)絡(luò)世界;2002年
2 電子科技大學(xué) 楊挺 李德爾;OSPF協(xié)議介紹(下)[N];計(jì)算機(jī)世界;2002年
3 電子科技大學(xué) 楊挺 李德爾;OSPF協(xié)議介紹(上)[N];計(jì)算機(jī)世界;2002年
4 武雙勝;解決 OSPF 協(xié)議引起的問題[N];中國(guó)計(jì)算機(jī)報(bào);2001年
5 思博倫通信 沈謙;OSPF路由協(xié)議仿真測(cè)試[N];網(wǎng)絡(luò)世界;2002年
6 李瑞祥;跟我學(xué)華為2631路由器OSPF設(shè)置方法(上)[N];中國(guó)電腦教育報(bào);2004年
7 李瑞祥;跟我學(xué)華為2631路由器OSPF設(shè)置方法(下)[N];中國(guó)電腦教育報(bào);2004年
相關(guān)碩士學(xué)位論文 前10條
1 梅鴻翔;OSPF路由協(xié)議的安全性評(píng)測(cè)研究[D];電子科技大學(xué);2010年
2 龔曉軍;OSPF的移植和實(shí)現(xiàn)[D];電子科技大學(xué);2001年
3 吳文;OSPF路由協(xié)議支持MTR特性的設(shè)計(jì)及實(shí)現(xiàn)[D];西安電子科技大學(xué);2014年
4 王昭瑩;基于TTCN-3的OSPFL3VPN路由協(xié)議一致性測(cè)試技術(shù)研究[D];西安電子科技大學(xué);2014年
5 倪勇;OSPF路由拓?fù)浒l(fā)現(xiàn)與異常檢測(cè)技術(shù)[D];國(guó)防科學(xué)技術(shù)大學(xué);2008年
6 康威;OSPF路由協(xié)議安全性分析與研究[D];北京郵電大學(xué);2010年
7 葉青;基于OSPF的不間斷轉(zhuǎn)發(fā)與節(jié)能技術(shù)的研究與實(shí)現(xiàn)[D];北京交通大學(xué);2011年
8 鄧舒;OSPF協(xié)議的實(shí)現(xiàn)[D];電子科技大學(xué);2002年
9 張曉海;OSPF graceful restart協(xié)議的分析與實(shí)現(xiàn)[D];西南交通大學(xué);2005年
10 王曉偉;OSPF平穩(wěn)重啟技術(shù)的研究與實(shí)現(xiàn)[D];國(guó)防科學(xué)技術(shù)大學(xué);2005年
,本文編號(hào):1517364
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1517364.html