欢迎来到天天文库
浏览记录
ID:40563239
大小:19.87 KB
页数:7页
时间:2019-08-04
《MPLS VPN典型配置案例》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、配置案例:组网如下图所示,NE80作为P路由器做MPLS转发,两台NE16作为PE路由器接入两台Quidway2600CE路由器,其中CE-A和PE-A之间运行BGP路由协议,CE-B和PE-B之间运行静态路由协议。PE-A路由器配置hostnamePE-Arouterid192.168.255.2mplslsrid192.168.255.2//配置mplslsrid此处用和routerid一致的Loopback地址!mplsldp//启动MPLSLDP协议!ipvrfvpntest//配置vrf,其中vpntest为vr
2、f名称rd100:1//rd为标识符,结构为自治系统编号:VPN站点编号route-targetexport100:1route-targetimport100:1!interfaceEthernet2/2/0descriptionTO_Router-CE-Aipvrfforwardingvpntest//VPN站点连接CE路由器接口启动vrfforwardingipaddress172.16.0.9255.255.255.252!interfaceEthernet3/2/0descriptionTO_Router-NE8
3、0_Pipaddress192.168.0.17255.255.255.252mplsldpenable//与P路由器连接的接口启动MPLSLDP协议!!interfaceLoopBack7/0/0ipaddress192.168.255.2255.255.255.255!routerbgp100//配置BGP协议!address-familyipv4vrfvpntest//此模式为配置EBGP和CE路由器通过BGP协议来传递VPN站点的路由redistributestaticredistributeconnectedno
4、synchronizationneighbor172.16.0.10remote-as65000exit-address-family!address-familyvpnv4//此模式为配置vpnv4iBGP路由,用于在PE之间传播MBGPVPN路由nosynchronizationneighbor192.168.255.1remote-as100neighbor192.168.255.1next-hop-selfneighbor192.168.255.1update-sourceLoopBack7/0/0exit-add
5、ress-family!routerospf//PE、P路由器路由通过IGP路由协议传播network192.168.0.00.0.255.255area0.0.0.0redistributestaticredistributeconnected!!linecon0lineaux0nologinlinevty04!end配置NE80作为P路由器只做标签转发hostnameNE80-Prouterid192.168.255.3mplslsrid192.168.255.3!mplsldp!interfaceEthernet1/
6、0/1descriptionTO_Router-PE-Bnegotiationautonoshutdownipaddress192.168.0.14255.255.255.252mplsldpenable//与PE-B路由器连接的接口启动MPLSLDP协议!interfaceEthernet1/0/3descriptionTO_Router-PE-Anegotiationautonoshutdownipaddress192.168.0.18255.255.255.252mplsldpenable//与PE-A路由器连接的接
7、口启动MPLSLDP协议!interfaceLoopBack0ipaddress192.168.255.3255.255.255.255!!routerospfnetwork192.168.0.00.0.255.255area0.0.0.0redistributeconnectedredistributestatic!endCE-A路由器配置(VPN用户路由器)version1.5.6routerid172.16.0.10hostnameCE-A!interfaceEthernet0//用于和PE-A路由器连接speeda
8、utoduplexautonoloopbackipaddress172.16.0.10255.255.255.252!interfaceEthernet1//接入VPN用户局域网speedautoduplexautonoloopbackipaddress10.0.5.1255.255.255.0!exi
此文档下载收益归作者所有