
你好,
我有一个基于BGP的VPLS设置,其中一台CE机是多主机的。
如果我关闭活动PE或者我以某种方式干扰了我的PE之间的连接,多归宿就会起作用。那就行了
但是,如果我关闭了活动PE上面向CE的接口,其他PE就会继续转发到不能转发的PE,结果就是连接性下降,甚至还有另一种工作方式。
我想知道,如何向其他同行发出面向CE接口失败的信号?
PE1是Juniper,PE5是Cisco..。我想不出他们中的任何一个
配置:
PE1:
bgp {
group ibgp {
type internal;
local-address 10.255.255.1;
family l2vpn {
signaling;
}
neighbor 10.255.255.10;
}
}
routing-instances {
VPLS {
instance-type vpls;
interface ge-0/0/1.0;
route-distinguisher 100:1;
vrf-target {
import target:3:3;
export target:1:1;
}
protocols {
vpls {
no-tunnel-services;
site 1 {
site-identifier 1;
multi-homing;
interface ge-0/0/1.0;
}
}
}
}PE5:
l2vpn vfi context VPLS
vpn id 100
autodiscovery bgp signaling bgp
ve id 1
rd 110:1
route-target export 1:1
route-target import 3:3
bridge-domain 1
member GigabitEthernet2 service-instance 1
member vfi VPLS
interface GigabitEthernet2
no ip address
negotiation auto
service instance 1 ethernet
encapsulation default
!
!
router bgp 100
bgp log-neighbor-changes
neighbor 10.255.255.10 remote-as 100
neighbor 10.255.255.10 update-source Loopback0
!
address-family l2vpn vpls
neighbor 10.255.255.10 activate
neighbor 10.255.255.10 send-community extended
neighbor 10.255.255.10 suppress-signaling-protocol ldp
exit-address-family谢谢!
发布于 2019-04-19 14:43:24
@Radovan.我将尝试通过假设PE-1和PE-5都是Juniper节点来回答这个问题。
在Juniper的情况下,您可以在VPLS路由实例下使用“站点首选”旋钮。在您的情况下,CE是双主到2 x CE。站点首选项旋钮将控制哪个PE是当前“活动”的PE,它正在将流量转发到CE。您必须在两个be上定义“相同”VPLS实例(RD将不同),但RTs将与其定义VPN成员身份相同。
在PE-5上,在BGP VPLS实例下,您可以打开旋钮“站点首选项”,如下所示
set routing-instances vpls-north-mx-abc-hsi protocols vpls site vpls-north-mx-abc-hsi multi-homing
set routing-instances vpls-north-mx-abc-hsi protocols vpls site vpls-north-mx-abc-hsi site-preference primary在PE-1上,在同一个BGP VPLS实例中,您可以打开旋钮“站点首选备份”。
set routing-instances vpls-north-mx-abc-hsi protocols vpls site vpls-north-mx-abc-hsi multi-homing
set routing-instances vpls-north-mx-abc-hsi protocols vpls site vpls-north-mx-abc-hsi site-preference backup将会发生的是,这两个选项都将开始广告BGP VPLS NLRI以及本地偏好值(由站点首选项打开)。一个是活跃的将设置本地偏好高(65535),而其他将设置为1,如下所示:
vpls-north-mx-abc-hsi.l2vpn.0: 6 destinations, 14 routes (6 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
10.0.0.1:11037:8:9/96
* Self 65535 I
while othe one (backup) will advertise the same VPLS NLRI as below:-
vpls-north-mx-abc-hsi.l2vpn.0: 6 destinations, 14 routes (6 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
10.0.0.2:11037:8:9/96
* Self 1 I因此,远程PEs (在您的情况下是PE-3和PE-2)将建立由“显示VPLS连接实例”验证的主PE (PE-5)的BGP vpls PW。
因此,在正常情况下,PE-3和PE-2都会向PE-5发送流量.
现在让我们假设PE-5和CE之间的链接会下降(您可以通过admin模拟,关闭CE或PE端的接口)。在这里,我们假设在PE-5和CE之间只有1条链接.在多个链接的情况下,只关闭一个接口就不会关闭VPLS实例。在这种情况下,为了模拟的目的,您可以在主端PE-5上禁用VPLS实例。
When the link is down between PE-5 and CE , PE-5 will say that VPLS instance is down (as the link that was part of VPLS instance (or Attachment circuit) went down). So PE-5 will withdraw the BGP VPLS NLRI by sending the BGP update packet. 其余的PE将收到BGP VPLS NLRI通过RR.and提取的数据包,表示PE-5不再是活动包。
其余的远程PE (PE-3和PE-2)现在将建立BGP VPLS PW到备份PE,在您的情况下是PE-1。对于流量流,MAC地址将再次通过洪水(BUM)重新学习.最后,流量将开始流向PE-1,然后流向CE.
我希望这将是有意义的,并将有助于澄清。
https://networkengineering.stackexchange.com/questions/58496
复制相似问题