CISCOOSPFMPLSBGP配置实例加讲解_第1页
CISCOOSPFMPLSBGP配置实例加讲解_第2页
CISCOOSPFMPLSBGP配置实例加讲解_第3页
CISCOOSPFMPLSBGP配置实例加讲解_第4页
CISCOOSPFMPLSBGP配置实例加讲解_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CISCO路由器OSPF+MPLS+BGP配置实例二OO八年九月四日目 录一、网络环境 ...................................................................................二、网络描述 ...................................................................................三、网络拓扑图 ...............................................................................四、P路由器配置 ...........................................................................五、PE1路由器配置 .......................................................................六、PE2路由器配置 .......................................................................七、CE1路由器配置.......................................................................八、CE2路由器配置.......................................................................九、业务测试 ...................................................................................

错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。错误!未定义书签。一、网络环境由5台CISCO7204组成的网络,一台为P路由器,两台PE路由器,两台CE路由器;二、网络描述在P和两台PE路由器这间通过OSPF动态路由协议完成MPLS网络的建立,两台PE路由器这间启用BGP路由协议,在PE路由器上向所属的CE路由器指VPN路由,在CE路由器中向PE路由器配置静态路由。配置思路:1、在P和两台PE路由器这间通过OSPF动态路由协议,在P和PE路由器两两互连的端口上启用MPLS,两台PE之间的路为备份路由,这属公网路由。2、两台PE路由器这间启用BGP路由协议,这使得属于VPN的IP地址能在两个网络(两台CE所属的网络)互相发布,这属私网(VPN)路由。3、在PE路由器上向所属的CE路由器指VPN路由,这打通了两个网络(两台CE所属的网络)之间的路由。三、网络拓扑图P路由器(r1) F1/0:/30F0/0:/30PE1路由器(r3)PE2路由器(r2)LOOP0:/32LOOP0:/32F0/0:/30F2/0:/30F1/0:/30F2/0:/30F0/0:/30F1/0:/30CE1路由器(r5)CE2路由器(r4)LOOP0:/24LOOP0:/24四、P路由器配置p#SHOWRUNBuildingconfiguration...Currentconfiguration:1172bytes!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamep!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipcefipauditpomax-events100!!interfaceLoopback0ipaddress FastEthernet0/0descriptionto_r2 ipospfcost20duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet1/0descriptionto_r3 ipospfcost20duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet2/0noipaddressshutdownduplexhalf!interfaceFastEthernet3/0noipaddressshutdownduplexhalf!routerospf100log-adjacency-changesredistributeconnectedsubnetsredistributestaticsubnets area0 area0!ipclasslessnoiphttpservernoiphttpsecure-server!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04login!!endp#五、PE1路由器配置pe1#showrunBuildingconfiguration...Currentconfiguration:1813bytes!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamepe1!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipvrfvpnard1:100route-targetexport200:1route-targetimport200:1!ipcefipauditpomax-events100!!interfaceLoopback0ipaddressinterfaceFastEthernet0/0descriptionto_r5ipvrfforwardingvpnaipaddress duplexfulltag-switchingip!interfaceFastEthernet1/0descriptionto_r1 ipospfcost20duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet2/0 ipospfcost100duplexfulltag-switchingmtu1508tag-switchingip!interfaceFastEthernet3/0noipaddressshutdownduplexhalf!routerospf100log-adjacency-changesredistributeconnectedmetric-type1subnets area0network !routerbgp100nobgpdefaultipv4-unicastbgplog-neighbor-changesneighbor remote-as100neighbor update-sourceLoopback0neighbor version4!address-familyvpnv4neighbor activateneighbor send-communityextendedexit-address-family!address-familyipv4vrfvpnaredistributeconnectedredistributestaticnoauto-summarynosynchronizationexit-address-family!ipclasslessiproutevrfvpna iphttpservernoiphttpsecure-server!ipospfname-lookup!!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04login!!endpe1#六、PE2路由器配置pe2#showrunBuildingconfiguration...Currentconfiguration:1725bytes!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamepe2!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipvrfvpnard1:100route-targetexport200:1route-targetimport200:1!ipcefipauditpomax-events100!!interfaceLoopback0ipaddressinterfaceFastEthernet0/0descriptionto_r1 ipospfcost20duplexfulltag-switchingip!interfaceFastEthernet1/0ipvrfforwardingvpnaipaddress duplexfulltag-switchingip!interfaceFastEthernet2/0 ipospfcost100duplexfulltag-switchingip!interfaceFastEthernet3/0noipaddressshutdownduplexhalf!routerospf100log-adjacency-changesredistributeconnectedmetric1subnetsredistributestaticmetric-type1subnets area0!routerbgp100nobgpdefaultipv4-unicastbgplog-neighbor-changesneighbor remote-as100neighbor update-sourceLoopback0neighbor version4!address-familyvpnv4neighbor activateneighbor send-communityextendedexit-address-family!address-familyipv4vrfvpnaredistributeconnectedredistributestaticnoauto-summarynosynchronizationexit-address-family!ipclasslessiproutevrfvpna iphttpservernoiphttpsecure-server!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04login!!End七、CE1路由器配置ce1#showrunBuildingconfiguration...Currentconfiguration:892bytes!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamece1!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipcefipauditpomax-events100!!interfaceLoopback0ipaddress FastEthernet0/0descriptionto_r3ipaddress duplexfull!interfaceFastEthernet1/0noipaddressshutdownduplexhalf!interfaceFastEthernet2/0noipaddressshutdownduplexhalf!interfaceFastEthernet3/0noipaddressshutdownduplexhalf!ipclassless iphttpservernoiphttpsecure-server!!!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04login!!end八、CE2路由器配置Ce2#showrunBuildingconfiguration...*Sep 313:53::%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleCurrentconfiguration:888bytes!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamece2!boot-start-markerboot-end-marker!!noaaanew-modelipsubnet-zero!!!ipcefipauditpomax-events100!!interfaceLoopbac

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论