欢迎来到天天文库
浏览记录
ID:47116945
大小:159.00 KB
页数:13页
时间:2019-08-07
《CISCO 路由器MPLS VPN配置实例》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、目录一、网络环境3二、网络描述3三、网络拓扑图4四、P路由器配置4五、PE1路由器配置6六、PE2路由器配置9七、CE1路由器配置11八、CE2路由器配置13九、业务测试14一、网络环境由5台CISCO7204组成的网络,一台为P路由器,两台PE路由器,两台CE路由器;二、网络描述在P和两台PE路由器这间通过OSPF动态路由协议完成MPLS网络的建立,两台PE路由器这间启用BGP路由协议,在PE路由器上向所属的CE路由器指VPN路由,在CE路由器中向PE路由器配置静态路由。配置思路:1、在P和两台PE路由器这间通过OSPF动态路
2、由协议,在P和PE路由器两两互连的端口上启用MPLS,两台PE之间的路为备份路由,这属公网路由。2、两台PE路由器这间启用BGP路由协议,这使得属于VPN的IP地址能在两个网络(两台CE所属的网络)互相发布,这属私网(VPN)路由。3、在PE路由器上向所属的CE路由器指VPN路由,这打通了两个网络(两台CE所属的网络)之间的路由。三、网络拓扑图四、P路由器配置p#SHOWRUNBuildingconfiguration...Currentconfiguration:1172bytes!version12.3servicetime
3、stampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamep!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipcefipauditpomax-events100!!interfaceLoopback0ipaddress202.98.4.3255.255.255.255!interfaceFastEthernet0/0des
4、criptionto_r2ipaddress10.1.1.10255.255.255.252ipospfcost20duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet1/0descriptionto_r3ipaddress10.1.1.6255.255.255.252ipospfcost20duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet2/0noipaddre
5、ssshutdownduplexhalf!interfaceFastEthernet3/0noipaddressshutdownduplexhalf!routerospf100log-adjacency-changesredistributeconnectedsubnetsredistributestaticsubnetsnetwork10.1.1.60.0.0.0area0network10.1.1.100.0.0.0area0!ipclasslessnoiphttpservernoiphttpsecure-server!ga
6、tekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04login!!endp#五、PE1路由器配置pe1#showrunBuildingconfiguration...Currentconfiguration:1813bytes!version12.3servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservice
7、password-encryption!hostnamepe1!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipvrfvpnard1:100route-targetexport200:1route-targetimport200:1!ipcefipauditpomax-events100!!interfaceLoopback0ipaddress202.98.4.1255.255.255.255!interfaceFastEthernet0/0de
8、scriptionto_r5ipvrfforwardingvpnaipaddress172.16.1.1255.255.255.252duplexfulltag-switchingip!interfaceFastEthernet1/0descriptionto_
此文档下载收益归作者所有