H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】.doc
《H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】.doc》由会员分享,可在线阅读,更多相关《H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】.doc(20页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、如有侵权,请联系网站删除,仅供学习与交流H3C MSR系列路由器MPLS L3VPN跨域方案【A B C功能配置】【精品文档】第 20 页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.3ip vpn-instance vpnaroute-distingui
2、sher 3:1vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunityip vpn-instance vpnbroute-distinguisher 3:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunitympls lsr-id 3.3.3.3mplsmpls ldpinterface Ethernet0/0port link-mode routeip address 1.3.0.3 255.255.255.0mplsmpls
3、ldpinterface Ethernet0/1port link-mode routeip binding vpn-instance vpnaip address 192.168.1.1 255.255.255.0interface Ethernet1/0port link-mode routeip binding vpn-instance vpnbip address 172.32.1.1 255.255.255.0interface LoopBack0ip address 3.3.3.3 255.255.255.255bgp 1undo synchronizationpeer 1.1.1
4、.1 as-number 1peer 1.1.1.1 connect-interface LoopBack0ipv4-family vpnv4peer 1.1.1.1 enableipv4-family vpn-instance vpnaimport-route directipv4-family vpn-instance vpnbimport-route directospf 1area 0.0.0.0network 3.3.3.3 0.0.0.0network 1.3.0.0 0.0.0.255asbrA:router id 1.1.1.1ip vpn-instance vpnaroute
5、-distinguisher 1:1vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunityip vpn-instance vpnbroute-distinguisher 1:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunitympls lsr-id 1.1.1.1mplsmpls ldpinterface Ethernet0/0.1 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 1ip bindi
6、ng vpn-instance vpnaip address 1.2.1.1 255.255.255.0interface Ethernet0/0.2 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 2ip binding vpn-instance vpnbip address 1.2.2.1 255.255.255.0interface Ethernet0/1port link-mode routeip address 1.3.0.1 255.255.255.0mplsmpls ldpinterface LoopBack0ip address 1.1.1.1 2
7、55.255.255.255bgp 1undo synchronizationpeer 3.3.3.3 as-number 1 /asbr和pe间是标准L3VPNpeer 3.3.3.3 connect-interface LoopBack0ipv4-family vpnv4peer 3.3.3.3 enableipv4-family vpn-instance vpna /asbr间使用PE-CE模式传vpna路由peer 1.2.1.2 as-number 2ipv4-family vpn-instance vpnb /asbr间使用PE-CE模式传vpna路由peer 1.2.2.2 as
8、-number 2ospf 1area 0.0.0.0network 1.1.1.1 0.0.0.0network 1.3.0.0 0.0.0.255asbrB:router id 2.2.2.2ip vpn-instance vpnaroute-distinguisher 2:1vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunityip vpn-instance vpnbroute-distinguisher 2:2vpn-target 2:2 export-extcommunityvpn-target 2:2
9、 import-extcommunitympls lsr-id 2.2.2.2mplsmpls ldpinterface Ethernet0/0.1 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 1ip binding vpn-instance vpnaip address 1.2.1.2 255.255.255.0interface Ethernet0/0.2 /asbr间用子接口区分不同vpn流量vlan-type dot1q vid 2ip binding vpn-instance vpnbip address 1.2.2.2 255.255.255.0i
10、nterface Ethernet0/1port link-mode routeip address 2.4.0.2 255.255.255.0mplsmpls ldpinterface LoopBack0ip address 2.2.2.2 255.255.255.255bgp 2undo synchronizationpeer 4.4.4.4 as-number 2 /asbr和pe间是标准L3VPNpeer 4.4.4.4 connect-interface LoopBack0ipv4-family vpnv4peer 4.4.4.4 enableipv4-family vpn-inst
11、ance vpna /asbr间使用PE-CE模式传vpna路由peer 1.2.1.1 as-number 1ipv4-family vpn-instance vpnb /asbr间使用PE-CE模式传vpnb路由peer 1.2.2.1 as-number 1ospf 1area 0.0.0.0network 2.2.2.2 0.0.0.0network 2.4.0.0 0.0.0.255peB:router id 4.4.4.4ip vpn-instance vpnaroute-distinguisher 4:1vpn-target 1:1 export-extcommunityvpn-
12、target 1:1 import-extcommunityip vpn-instance vpnbroute-distinguisher 4:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunitympls lsr-id 4.4.4.4mplsmpls ldpinterface Ethernet0/0port link-mode routeip address 2.4.0.4 255.255.255.0mplsmpls ldpinterface Ethernet0/1port link-mode routeip
13、 binding vpn-instance vpnaip address 192.168.2.1 255.255.255.0interface Ethernet1/0port link-mode routeip binding vpn-instance vpnbip address 172.32.2.1 255.255.255.0interface LoopBack0ip address 4.4.4.4 255.255.255.255bgp 2undo synchronizationpeer 2.2.2.2 as-number 2peer 2.2.2.2 connect-interface L
14、oopBack0ipv4-family vpnv4peer 2.2.2.2 enableipv4-family vpn-instance vpnaimport-route directipv4-family vpn-instance vpnbimport-route directospf 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实例视图下。
15、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.3ip vpn-instance vpnaroute-distinguisher 3:1vpn-target 1:1 exp
16、ort-extcommunityvpn-target 1:1 import-extcommunityip vpn-instance vpnbroute-distinguisher 3:2vpn-target 2:2 export-extcommunityvpn-target 2:2 import-extcommunitympls lsr-id 3.3.3.3mplsmpls ldpinterface Ethernet0/0port link-mode routeip address 1.3.0.3 255.255.255.0mplsmpls ldpinterface Ethernet0/1po
17、rt link-mode routeip binding vpn-instance vpnaip address 192.168.1.1 255.255.255.0interface Ethernet1/0port link-mode routeip binding vpn-instance vpnbip address 172.32.1.1 255.255.255.0interface LoopBack0ip address 3.3.3.3 255.255.255.255bgp 1undo synchronizationpeer 1.1.1.1 as-number 1peer 1.1.1.1
18、 connect-interface LoopBack0ipv4-family vpnv4peer 1.1.1.1 enableipv4-family vpn-instance vpnaimport-route directipv4-family vpn-instance vpnbimport-route directospf 1area 0.0.0.0network 3.3.3.3 0.0.0.0network 1.3.0.0 0.0.0.255asbrA:router id 1.1.1.1mpls lsr-id 1.1.1.1mplsmpls ldpinterface Ethernet0/
19、0port link-mode routeip address 1.2.0.1 255.255.255.0mpls /使能MPLS流量转发能力interface Ethernet0/1port link-mode routeip address 1.3.0.1 255.255.255.0mplsmpls ldpinterface LoopBack0ip address 1.1.1.1 255.255.255.255bgp 1undo synchronizationpeer 1.2.0.2 as-number 2 /建立EBGP连接peer 3.3.3.3 as-number 1peer 3.3
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- A B C功能配置 H3C MSR系列路由器MPLS L3VPN跨域方案【A C功能配置】 MSR 系列 路由器 MPLS L3VPN 方案 功能 配置
限制150内