H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】

上传人:lcm****801 文档编号:103068339 上传时间:2019-10-05 格式:DOC 页数:26 大小:584KB
返回 下载 相关 举报
H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】_第1页
第1页 / 共26页
H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】_第2页
第2页 / 共26页
H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】_第3页
第3页 / 共26页
H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】_第4页
第4页 / 共26页
H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】_第5页
第5页 / 共26页
点击查看更多>>
资源描述

《H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】》由会员分享,可在线阅读,更多相关《H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】(26页珍藏版)》请在金锄头文库上搜索。

1、MSR系列路由器MPLS L3VPN跨域方案A功能的配置关键词:MSR;MPLS;L3VPN;跨域;OptionA一、组网需求:peA和asbrA在AS1,peB和asbrB在AS2;peA和peB都下挂着vpna和vpnb的站点,peA下挂vpna和vpnb站点1,peB下挂vpna和vpnb站点2。设备清单:MSR系列路由器4台二、组网图:三、配置步骤:peA配置:#router id 3.3.3.3#ip vpn-instance vpnaroute-distinguisher 3:1vpn-target 1:1 export-extcommunityvpn-target 1:1 imp

2、ort-extcommunity#ip vpn-instance vpnbroute-distinguisher 3:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunity#mpls lsr-id 3.3.3.3#mpls#mpls ldp#interface Ethernet0/0port link-mode routeip address 1.3.0.3 255.255.255.0mplsmpls ldp#interface Ethernet0/1port link-mode routeip binding

3、 vpn-instance vpnaip address 192.168.1.1 255.255.255.0#interface Ethernet1/0port link-mode routeip binding vpn-instance vpnbip address 172.32.1.1 255.255.255.0#interface LoopBack0ip address 3.3.3.3 255.255.255.255#bgp 1undo synchronizationpeer 1.1.1.1 as-number 1peer 1.1.1.1 connect-interface LoopBa

4、ck0#ipv4-family vpnv4peer 1.1.1.1 enable#ipv4-family vpn-instance vpnaimport-route direct#ipv4-family vpn-instance vpnbimport-route direct#ospf 1area 0.0.0.0network 3.3.3.3 0.0.0.0network 1.3.0.0 0.0.0.255#asbrA配置:router id 1.1.1.1#ip vpn-instance vpnaroute-distinguisher 1:1vpn-target 1:1 export-ext

5、communityvpn-target 1:1 import-extcommunity#ip vpn-instance vpnbroute-distinguisher 1:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunity#mpls lsr-id 1.1.1.1#mpls#mpls ldp#interface Ethernet0/0.1 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 1ip binding vpn-instance vpnaip address 1.2.1.1

6、 255.255.255.0#interface Ethernet0/0.2 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 2ip binding vpn-instance vpnbip address 1.2.2.1 255.255.255.0#interface Ethernet0/1port link-mode routeip address 1.3.0.1 255.255.255.0mplsmpls ldp#interface LoopBack0ip address 1.1.1.1 255.255.255.255#bgp 1undo synchroniz

7、ationpeer 3.3.3.3 as-number 1 /asbr和pe间是标准L3VPN配置peer 3.3.3.3 connect-interface LoopBack0#ipv4-family vpnv4peer 3.3.3.3 enable#ipv4-family vpn-instance vpna /asbr间使用PE-CE模式传vpna路由peer 1.2.1.2 as-number 2#ipv4-family vpn-instance vpnb /asbr间使用PE-CE模式传vpna路由peer 1.2.2.2 as-number 2#ospf 1area 0.0.0.0n

8、etwork 1.1.1.1 0.0.0.0network 1.3.0.0 0.0.0.255#asbrB配置:#router id 2.2.2.2#ip vpn-instance vpnaroute-distinguisher 2:1vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunity#ip vpn-instance vpnbroute-distinguisher 2:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunity#m

9、pls lsr-id 2.2.2.2#mpls#mpls ldp#interface Ethernet0/0.1 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 1ip binding vpn-instance vpnaip address 1.2.1.2 255.255.255.0#interface Ethernet0/0.2 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 2ip binding vpn-instance vpnbip address 1.2.2.2 255.255.255.0#interface Etherne

10、t0/1port link-mode routeip address 2.4.0.2 255.255.255.0mplsmpls ldp#interface LoopBack0ip address 2.2.2.2 255.255.255.255#bgp 2undo synchronizationpeer 4.4.4.4 as-number 2 /asbr和pe间是标准L3VPN配置peer 4.4.4.4 connect-interface LoopBack0#ipv4-family vpnv4peer 4.4.4.4 enable#ipv4-family vpn-instance vpna

11、/asbr间使用PE-CE模式传vpna路由peer 1.2.1.1 as-number 1#ipv4-family vpn-instance vpnb /asbr间使用PE-CE模式传vpnb路由peer 1.2.2.1 as-number 1#ospf 1area 0.0.0.0network 2.2.2.2 0.0.0.0network 2.4.0.0 0.0.0.255#peB配置:router id 4.4.4.4#ip vpn-instance vpnaroute-distinguisher 4:1vpn-target 1:1 export-extcommunityvpn-targ

12、et 1:1 import-extcommunity#ip vpn-instance vpnbroute-distinguisher 4:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunity#mpls lsr-id 4.4.4.4#mpls#mpls ldp#interface Ethernet0/0port link-mode routeip address 2.4.0.4 255.255.255.0mplsmpls ldp#interface Ethernet0/1port link-mode route

13、ip binding vpn-instance vpnaip address 192.168.2.1 255.255.255.0#interface Ethernet1/0port link-mode routeip binding vpn-instance vpnbip address 172.32.2.1 255.255.255.0#interface LoopBack0ip address 4.4.4.4 255.255.255.255#bgp 2undo synchronizationpeer 2.2.2.2 as-number 2peer 2.2.2.2 connect-interf

14、ace LoopBack0#ipv4-family vpnv4peer 2.2.2.2 enable#ipv4-family vpn-instance vpnaimport-route direct#ipv4-family vpn-instance vpnbimport-route direct#ospf 1area 0.0.0.0network 4.4.4.4 0.0.0.0network 2.4.0.0 0.0.0.255#四、配置关键点:1. asbr间需要用不同链路隔离不同vpn流量,可以使用不同物理链路或逻辑链路如子接口或E1/T1通道;2. asbr间互相把对方认为CE,所以要配置在bgp的vpn实例视图下配置。MSR系列路由器MPLS L3VPN跨域方案B功能的配置关键词:MSR;MPLS;L3VPN;跨域;OptionB一、组网需求:peA和asbrA在AS1,peB和asbrB在AS2;peA和peB都下挂着vpna和vpnb的站点,peA下挂vpna和vpnb站点1,peB下挂vpna和vpnb站点2。设备清单:MSR系列路由器4台二、组网图:三、配置步骤:适用设备和版本:MSR系列、Version 5.20, Beta 1105后所有版本。peA配置:#router id 3.3.3.3#ip vpn-instance

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号