不受ASBR之间互联链路数目的限制
VPN路由信息通过AS之间的ASBR保存和扩散的,当VPN路由较多时,ASBR负担重,容易成为故障点

基本配置同OptionA一样
PE1:
ip vpn-instance 1
ipv4-family
route-distinguisher 1:1
vpn-target 100:200 export-extcommunity
vpn-target 100:100 import-extcommunity
interface GigabitEthernet0/0/0
ip binding vpn-instance 1
bgp 100
peer 3.3.3.3 as-number 100
peer 3.3.3.3 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
#
ipv4-family vpnv4
policy vpn-target
peer 3.3.3.3 enable
#
ipv4-family vpn-instance 1
import-route ospf 100
ospf 100 router-id 1.1.1.1 vpn-instance 1
import-route bgp
area 0.0.0.0
network 192.168.1.0 0.0.0.255
ASBR1:
bgp 100
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 34.1.1.4 as-number 200
#
ipv4-family unicast
undo synchronization
peer 1.1.1.1 enable
peer 34.1.1.4 enable
#
ipv4-family vpnv4
undo policy vpn-target
peer 1.1.1.1 enable
peer 34.1.1.4 enable
#
interface GigabitEthernet0/0/1
mpls
ASBR2:
bgp 200
peer 6.6.6.6 as-number 200
peer 6.6.6.6 connect-interface LoopBack0
peer 34.1.1.3 as-number 100
#
ipv4-family unicast
undo synchronization
peer 6.6.6.6 enable
peer 34.1.1.3 enable
#
ipv4-family vpnv4
undo policy vpn-target
peer 6.6.6.6 enable
peer 34.1.1.3 enable
interface GigabitEthernet0/0/1
mpls
PE2:
ip vpn-instance 1
ipv4-family
route-distinguisher 2:2
vpn-target 100:100 export-extcommunity
vpn-target 100:200 import-extcommunity
#
bgp 200
peer 4.4.4.4 as-number 200
peer 4.4.4.4 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 4.4.4.4 enable
#
ipv4-family vpnv4
policy vpn-target
peer 4.4.4.4 enable
#
ipv4-family vpn-instance 1
import-route ospf 100
#
ospf 100 router-id 6.6.6.6 vpn-instance 1
import-route bgp
area 0.0.0.0

本文档展示了MPLS VPN的配置示例,重点在于AS边界路由器(ASBR)的角色。当大量VPN路由通过ASBR传递时,可能会导致ASBR负担过重,成为潜在的故障点。配置中涉及了BGP、OSPF和VPNV4的交互,以及PE和ASBR之间的连接,旨在实现跨域的路由信息交换。然而,这种配置并未考虑ASBR之间的互联链路数目的限制,可能影响系统的稳定性和可靠性。
1045

被折叠的 条评论
为什么被折叠?



