资源预览内容
第1页 / 共23页
第2页 / 共23页
第3页 / 共23页
第4页 / 共23页
第5页 / 共23页
第6页 / 共23页
第7页 / 共23页
第8页 / 共23页
第9页 / 共23页
第10页 / 共23页
亲,该文档总共23页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
7750Service Route VPRN配置实例与排障手册目 录目 录BGP/MPLS IP VPN配置11.1 配置举例11.1.1 配置基本的VPRN示例11.1.2 配置Hub&Spoke的VPRN示例81.1.3 配置多角色主机示例141.2 故障检查步骤181.2.1 检查用户端口/VLAN的状态是否正常,是否UP 、误码等情况?181.2.2 检查PE的VPRN-instance状态是否UP?191.2.3 检查到对端PE的VPRN私网路由是否学习到?201.2.4 检查到对端PE的VPRN私网标签是否已分配?211.2.5 检查到对端PE的loopback接口地址的32位掩码路由LSP是否正常?21i7750Service Route VPRN配置实例与排障手册BGP/MPLS IP VPN配置VPRN是一种基于网络边缘设备PE(Provider Edge)的L3VPN技术。它使用BGP在服务提供商骨干网上发布VPN路由,使用MPLS在服务提供商骨干网上转发VPN报文。1.1 配置举例本章的配置举例包括以下案例。l 配置BGP/MPLS IP VPN示例l 配置Hub&Spoke示例l 配置BGP/MPLS IP VPN采用GRE隧道示例l 配置多角色主机示例1.1.1 配置基本的VPRN示例1. 组网需求如图5-9,CE1、CE3属于VPN-A,CE2、CE4属于VPN-B;VPN-A使用的VRF-target属性为500:100,VPN-B使用的VRF-target属性为500:300,CE1与PE1之间运行OSPF,CE2与PE1之间运行OSPF,CE3与PE2之间运行EBGP,CE4与PE2之间运行EBGP。不同VPN用户之间不能互相访问。图5-1 BGP/MPLS IP VPN组网图2. 配置思路(1) 骨干网中,与CE相连的PE上需配置VPRN,并把与CE相连的接口和相应的VPRN实例绑定;绑定之后需要重新配置与CE相连的接口的IP地址。PE与PE之间配置OSPF实现PE内部的互通;配置MPLS基本能力和MPLS LDP,建立MPLS LSP;配置MP-IBGP交换VPRN路由信息。(2) CE与PE之间配置EBGP、OSPF交换VPRN路由信息。3. 数据准备l PE及P上的MPLS LSR为各自Loopback1的IP地址;l VPN-A与VPN-B的收发路由属性VPN-Target设置为不同。4. 配置步骤(1) 在MPLS骨干网上配置IGP协议,实现骨干网PE和P的互通# 配置PE1。*B:PE1# configure router inteface GE1/1/1*B:PE1configrouterif#port 1/1/1*B:PE1configrouterif#address 172.1.1.1/30*B:PE1configrouterif#back*B:PE1configrouter#interface system*B:PE1configrouterif#address 1.1.1.1/32*B:PE1configrouterif#back*B:PE1configrouter#ospf*B:PE1configrouterospf#area 0.0.0.0*B:PE1configrouterospfarea#interface system*B:PE1configrouterospfarea#interface GE1/1/1# 配置P。*B:PE1# configure router inteface GE1/1/1*B:PE1configrouterif#port 1/1/1*B:PE1configrouterif#address 172.1.1.2/30*B:PE1configrouterif#back*B:PE1# configure router inteface GE1/1/2*B:PE1configrouterif#port 1/1/2*B:PE1configrouterif#address 172.1.2.2/30*B:PE1configrouterif#back*B:PE1configrouter#interface system*B:PE1configrouterif#address 3.3.3.3/32*B:PE1configrouterif#back*B:PE1configrouter#ospf*B:PE1configrouterospf#area 0.0.0.0*B:PE1configrouterospfarea#interface system*B:PE1configrouterospfarea#interface GE1/1/1*B:PE1configrouterospfarea#interface GE1/1/2# 配置PE2。*B:PE1# configure router inteface GE1/1/2*B:PE1configrouterif#port 1/1/2*B:PE1configrouterif#address 172.1.2.1/30*B:PE1configrouterif#back*B:PE1configrouter#interface system*B:PE1configrouterif#address 2.2.2.2/32*B:PE1configrouterif#back*B:PE1configrouter#ospf*B:PE1configrouterospf#area 0.0.0.0*B:PE1configrouterospfarea#interface system*B:PE1configrouterospfarea#interface GE1/1/2(2) 在MPLS骨干网上配置MPLS基本能力和LDP,建立LDP LSP# 配置PE1。*B:PE1# configure router mpls *B:PE1configroutermpls#interface system*B:PE1configroutermplsif#back*B:PE1configroutermpls#interface GE1/1/1*B:PE1configroutermplsif#back*B:PE1configroutermpls#back*B:PE1configrouter#ldp*B:PE1configrouterldp#interface-parameters*B:PE1configrouterldpif-params#interface GE1/1/1# 配置P。*B:PE1# configure router mpls *B:PE1configroutermpls#interface system*B:PE1configroutermplsif#back*B:PE1configroutermpls#interface GE1/1/1*B:PE1configroutermplsif#back*B:PE1configroutermpls#interface GE1/1/1*B:PE1configroutermplsif#back*B:PE1configroutermpls#back*B:PE1configrouter#ldp*B:PE1configrouterldp#interface-parameters*B:PE1configrouterldpif-params#interface GE1/1/1*B:PE1configrouterldpif-paramsif#back*B:PE1configrouterldpif-params#interface GE1/1/2# 配置PE2。*B:PE1# configure router mpls *B:PE1configroutermpls#interface system*B:PE1configroutermplsif#back*B:PE1configroutermpls#interface GE1/1/2*B:PE1configroutermplsif#back*B:PE1configroutermpls#back*B:PE1configrouter#ldp*B:PE1configrouterldp#interface-parameters*B:PE1configrouterldpif-params#interface GE1/1/2(3) 在PE路由器上配置VPRN实例,将CE接入PE# 配置PE1。*A:PE1#config port 2/1/1 *A:PE1configport# ethernet mode access*A:PE1configport# exit*A:PE1#config port 2/1/2 *A:PE1configport# ethernet mode access*A:PE1configport# exit*A:PE1# configure service *A:PE1configservice# vprn 100 customer 1 create *A:PE1configservicevprn$ route-distinguisher 500:100 *A:PE1configservicevprn$ vrf-target target:500:100 *A:PE1configservicevprn$ interface GE2/1/1 create *A:PE1configservicevprnif$ address 10.1.1.1/24*A:PE1configservicevprnif$ sap 2/1/1 create *A:PE1configservicevprnifsap$ back *A:PE1configservicevprnif$ back *A:PE1configservicevprn# auto-bind ldp *A:PE1configservicevprn# no shutdown *A:PE1configservicevprn# back *A:PE1configservice# vprn 200 customer 1 create*A:PE1configservicevprn$ route-distinguisher 500:200 *A:PE1configservicevprn$ vrf-target target:500:200 *A:PE1configservicevprn$
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号