MSR系列路由器
MPLS L3VPN TE功能配置
关键词:MSR;MPLS;L3VPN;TE
一、组网需求:
PEA和PEB为运营商的MPLS L3VPN接入PE,分别连接vpna的2个站点出口CEA和CEB,要求vpna站点间的流量走TE隧道
设备清单:MSR系列路由器4台
二、组网图:
三、配置步骤:
设备和版本:MSR系列、Version 5.20, Release 1509
PEA配置 |
# router id # ip vpn-instance vpna route-distinguisher
1:1 //绑定隧道策略 tnl-policy
tp0 vpn-target
1:1 export-extcommunity vpn-target
1:1 import-extcommunity # mpls lsr-id # mpls mpls te mpls te cspf # mpls ldp # //隧道策略 tunnel-policy
tp0 //隧道策略选择cr-lsp tunnel
select-seq cr-lsp
load-balance-number 1 # interface LoopBack0 ip address # interface Ethernet0/0 port link-mode route description connects to
CEA ip binding vpn-instance vpna ip address
192.168.1.1 255.255.255.0 # interface
Ethernet0/1 port link-mode route description connects to PEB ip address mpls mpls te mpls te max-link-bandwidth 100 mpls te max-reservable-bandwidth 50 mpls ldp # interface
Tunnel0 ip address tunnel-protocol mpls
te destination mpls te
signal-protocol crldp mpls te record-route label mpls te
bandwidth bc0 10 mpls te commit # bgp 1 undo synchronization peer peer # ipv4-family vpnv4 peer # ipv4-family vpn-instance
vpna peer 192.168.1.2 as-number 3 import-route direct # ospf 1 opaque-capability enable are network network mpls-te
enable # |
PEB配置 |
# router id # ip vpn-instance vpna route-distinguisher
2:1 vpn-target
1:1 export-extcommunity vpn-target
1:1 import-extcommunity # mpls lsr-id # mpls mpls te mpls te cspf # mpls ldp # interface
LoopBack0 ip address # interface
Ethernet0/0 port link-mode route description connects to CEB ip binding vpn-instance vpna ip address
192.168.2.1 255.255.255.0 # interface GigabitEthernet0/1 port link-mode route description connects to
RTB ip address mpls mpls te mpls te
max-link-bandwidth 100 mpls te
max-reservable-bandwidth 50 mpls ldp # bgp 1 undo synchronization peer
peer # ipv4-family vpnv4 peer # ipv4-family vpn-instance
vpna peer 192.168.2.2 as-number 2 import-route direct # ospf 1 opaque-capability enable are network network mpls-te
enable # |
CEA配置 |
# router id # interface Ethernet0/0 port link-mode route description connects to
PEA ip address
192.168.1.2 255.255.255.0 # interface Ethernet0/1 port link-mode route ip address
172.32.3.1 255.255.255.0 # interface
LoopBack0 ip address # bgp 3 network network 172.32.3.0 255.255.255.0 undo synchronization peer 192.168.1.1 as-number 1 # |
CEB配置 |
# router id # interface Ethernet0/0 port link-mode route description connects to
PEB ip address
192.168.2.2 255.255.255.0 # interface Ethernet0/1 port link-mode route ip address 172.32.4.1
255.255.255.0 # interface
LoopBack0 ip address # bgp 2 network network 172.32.4.0 255.255.255.0 undo synchronization peer 192.168.2.1 as-number 1 # |
四、配置关键点: