欢迎来到天天文库
浏览记录
ID:32755503
大小:52.14 KB
页数:6页
时间:2019-02-15
《mplsvpn_ospf_rip配置附有gns3项目文件,配置文档》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、MPLSVPN的配置拓扑图配置思路GNS3项目文件及配置文档双击图片保存MPLS_VPN_RIP.txtMPLSVPN_0SPF_RIP2.zip一配置ISP网络内接口,网络协议查看OSPF路由表,并ping测试,traceroute测试PLS域内运行CEF,相关接口开启MPLS转发,修改MPLS的MTU1启用CEFipcef2接口命令mplsip//将ISP内部网络接口加入MPLS转发,连接客户的接口不必配置此命令3接口命令修改MPLSMTUmplsmtu1812//因为mplsvpn3会分别增加四个了匕可以省略不过会有过多分片,实际设备必须配置,此处省略MTUMPLS1504两层MPL
2、SVPN1508三层TE1812二配置BGP三PE配置VRF,将ISP的特定接口【该接口连接客户】加入VRFipvrfVRF-NMAERdRt接口模式下,将接口加入特定VRF转发ipvrfforwardingVRF-NAME四配置PE各接口IP地址五配置CE各接口1P地址六配置客户与ISP之间网络协议(配置CE端和PE端的连接)客户路由器(CE)和TSP边界路由器(PE)间运行路由协议RIProuterripversion2noauto-summary声明ISP和客户之I'可的网络和自己的loop0网络七进入RIP,进入IPV4地址族特定VRF屮,重发布BGP到RIP;声明网络八进入BGP
3、,并进入VPNV4中启用社团属性发送到特定邻居,〃命令neighbor[neighbor-ip]send-community对特定邻居启用AddressFamily//命令neighbor[neighbor-ip]activate进入IPV4地址族特定VRF中,重发布RIP到BGPR2ipcefipvrfLD.COMrd1:1route-targetexport1:1route-targetimport1:1!■interfaceLoopbackOipaddress222.2255.255.255.0interfaceSerialO/OipvrfforwardingLD.COMipaddr
4、ess24.1.1.2255.255.255.0clockrate1000000■interfaceSerialO/1ipaddress12.1.1.2255.255.255.0mplsipclockrate2000000■routerospf110router-id2.2.2.2log-adjacency-changesnetwork2.2.2.00.0.0.255area0network12.1.1.00.0.0.255area0■routerripversion2noauto-summaryi•address-familyipv4vrfLD.COMredistributebgp8me
5、trictransparentnetwork24.0.0.0noauto-summaryexit-address-family!■routerbgp8bgprouter-id2.2.2.2bgplog-neighbor-changesneighbor3.3.3.3remote-as8neighbor3.3.3.3update-sourceLoopbackOI•address-familyvpnv4neighbor33.3.3activateneighbor33.3.3send-communitybothexit-address-familyi■address-familyipv4vrfLD
6、.COMredistributeripnoauto-summarynosynchronizationexit-address-family!ipclasslessR2#*Mar100:01:11.819:%BGP-4-VPNV4NH_MASK:Nexthop2.222maynotbereachablefromneigbor3.3.3.3-not/32maskR2#R3ipcefipvrfLD.COMrd1:1route-targetexport1:1route-targetimport1:1i•interfaceLoopbackOipaddress333.3255.255.255.0■in
7、terfaceSerialO/OipvrfforwardingLD.COMipaddress35.1.1.3255.255.255.0clockrate1000000!■interfaceSerialO/1ipaddress13.1」.3255.255.255.0mplsipclockrate2000000!■routerospf110router-id3.333log-adjacency-changesnetwork3
此文档下载收益归作者所有