欢迎来到天天文库
浏览记录
ID:47736751
大小:87.89 KB
页数:12页
时间:2020-01-16
《MPLS VPN 实验手册(cisco)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、MPLSVPN实验一、拓朴图说明:1、设备接互联地址:如R1与R2间的互联地址为10.1.12.0/24;LOOKBACK接口地址为:1.1.1.1/32;2、CORE内运行OSPF(进行号100,area0),激活MPLS;3、PE上创建VRF(VPNA),PE与CE间通过OSPF互联(进程号:1);4、R2与R4两台PE间建立MP-IBGP邻接关系,(BGPAS234)5、完成PE-CE间的路由重发布;二、配置信息:R1:(CE1)R1#showrun!hostnameR1!ipcef!interfaceL
2、oopback0ipaddress1.1.1.1255.255.255.255ipospfnetworkpoint-to-point!interfaceFastEthernet0/0ipaddress10.1.12.1255.255.255.0duplexautospeedautomplsip!interfaceFastEthernet0/1noipaddressshutdownduplexautospeedauto!routerospf1router-id1.1.1.1log-adjacency-change
3、snetwork1.1.1.10.0.0.0area0network10.1.12.10.0.0.0area0!!endR1#R2:(PE1)R2#R2#showrun!hostnameR2!ipcef!ipvrfvpnard1:1route-targetexport234:2route-targetimport234:4!mplslabelrange200299mplsldprouter-idLoopback0!!interfaceLoopback0ipaddress2.2.2.2255.255.255.25
4、5!interfaceFastEthernet0/0ipvrfforwardingvpnaipaddress10.1.12.2255.255.255.0duplexautospeedauto!interfaceFastEthernet0/1ipaddress10.1.23.2255.255.255.0duplexautospeedautomplsip!routerospf1vrfvpnalog-adjacency-changesredistributebgp234subnetsnetwork10.1.12.20
5、.0.0.0area0!routerospf100router-id2.2.2.2log-adjacency-changesnetwork2.2.2.20.0.0.0area0network10.1.23.20.0.0.0area0!routerbgp234bgprouter-id2.2.2.2nobgpdefaultipv4-unicastbgplog-neighbor-changesneighbor4.4.4.4remote-as234neighbor4.4.4.4update-sourceLoopback
6、0!address-familyvpnv4neighbor4.4.4.4activateneighbor4.4.4.4send-communityextendedexit-address-family!address-familyipv4vrfvpnaredistributeospf1vrfvpnamatchinternalexternal1external2noauto-summarynosynchronizationexit-address-family!!endR2#R3:(P)R3#R3#showrun
7、!hostnameR3!ipcef!mplslabelrange300399mplsldprouter-idLoopback0!!interfaceLoopback0ipaddress3.3.3.3255.255.255.255!interfaceFastEthernet0/0ipaddress10.1.23.3255.255.255.0duplexautospeedautomplsip!interfaceFastEthernet0/1ipaddress10.1.34.3255.255.255.0duplexa
8、utospeedautomplsip!routerospf100router-id3.3.3.3log-adjacency-changesnetwork3.3.3.30.0.0.0area0network10.1.23.30.0.0.0area0network10.1.34.30.0.0.0area0!!endR3#R4:(PE2)R4#R4#showrunBuildingconfig
此文档下载收益归作者所有