电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

MPLSvpn配置私网静态路由VIP免费

MPLSvpn配置私网静态路由_第1页
1/11
MPLSvpn配置私网静态路由_第2页
2/11
MPLSvpn配置私网静态路由_第3页
3/11
MPLS vpn 配置--私网静态路由 实验环境:如图,Internet 运行 OSPF 协议使外网互通;两个私网,运行静态路由,与外网建立联系;R2、R4 运行扩展 IBGP,承载 vpn-v4 地址族。 配置解析: 1、 按 IP 地址配置各接口 2、 配置 PE1-P-PE2 公网路由 3、 各设备启用 ip cef Router (config)#ip cef 4、 在 PE1-P-PE2 主干接口启用 mpls Pe1(config)#int fa0/1 PE1(config-if)#mpls ip 5、 在 PE 上创建 VRF PE1(config)#ip vrf vpna PE1(config-vrf)#rd 100:1 PE1(config-vrf)#route-target 100:1 6、 将 PE 上与 CE 相连的接口加入到 VRF 中 PE1(config)#int fa0/0 PE1(CONFIG-IF)#ip vrf forwarding vpna PE1(config-if)#ip add 192.168.1.1255.255.255.0 PE1(config-if)#no shut 7、 在 PE 上配置 VRF 静态路由 PE1(config)#ip route vrf vpna 1.1.1.1 255.255.255.255 192.168.1.1 8、 配置 PE1、PE2 iBGP PE1(config)#router bgp 100 PE1(config-router )#bgp router –id 2.2.2.2 PE1(config-router)#nei 4.4.4.4remote-as 100 PE1(config-router)#nei 4.4.4.4update lo0 PE1(config-router)#no sy PE1(config-router)#no auto 9、 在 PE 上启用 address-familyVPNV4 扩展团体属性 PE1(config)#router bgp 100 PE1(config-router)#address-family vpnv4 PE1(config –router )#nei 4.4.4.4acti PE1(config –router )#nei 4.4.4.4send-community ex 10、在 PE 上启用 address-familyvrf ipv4 vpna PE1(config)#router bgp 100 PE1(config-router)#address-family ipv4 vrfvpna PE1(config-router-af)#no sy PE1(config-router-af)#no auto 将静态路由重分布到 address-familyipv4 vrf vpna 中 PE1(config-router-af)#redis static 11、配置 CE 间的静态路由 CE1(config)#ip route 5.5.5.5255.255.255.255 192.168.1.2 配置步骤: R1# sh run ! hostname R1 ! ip cef ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface Ethernet0/0 ip address 192.168.1.1 255.255.255.0 ! no ip http server no ip http secure-server ip route 5.5.5.5 255.255.255.255 192.168.1.2 R2#sh run ! hostname R2 ! ip cef ! ip vr...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

MPLSvpn配置私网静态路由

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部