I have a problem with BGP VPLS setup between MikroTik RoSV7 and my Cisco NCS540(IOS-XR). When creating BGP VPLS, I see that it is created as dynamic but does not go into the running state.
My configuration works fine on version 6, but it doesn't work on 7.
My config will be below.
Mikrotik RoSv7
Code: Select all
/mpls interface
add disabled=no input=yes interface=all mpls-mtu=1530
/mpls ldp
add afi=ip disabled=no loop-detect=yes lsr-id=10.254.254.12 preferred-afi=ip transport-addresses=10.254.254.12 \
use-explicit-null=yes
/mpls ldp advertise-filter
add advertise=no disabled=yes neighbor=10.254.254.5/32 prefix=10.254.12.0/24 vrf=any
add advertise=no disabled=yes neighbor=10.254.254.5/32 prefix=10.254.12.22/32 vrf=any
/mpls ldp interface
add accept-dynamic-neighbors=yes afi=ip disabled=no interface=BDI1006 transport-addresses=10.254.254.12
/routing bgp connection
add address-families=ip,l2vpn,l2vpn-cisco,vpnv4 as=50401 disabled=no input.filter=bgp_in local.role=ibgp name=10.254.254.5 \
output.filter-chain=bgp_out remote.address=10.254.254.5/32 .as=50401 router-id=10.254.254.12 routing-table=main \
templates=AS50401
/routing bgp vpls
add bridge=VPLS bridge-cost=50 cisco-id=10.254.254.12&50401:2020 disabled=no export-route-targets=50401:2020 \
import-route-targets=50401:2020 name=BNG_2020 pw-l2mtu=1530 pw-type=vpls rd=12:12
Code: Select all
RP/0/RP0/CPU0:bsw1-ap100.sh#show running-config interface gigabitEthernet 0/0/0/7
Tue Sep 26 17:41:59.132 EEST
interface GigabitEthernet0/0/0/7
description sfp-plus1@msw1-vokzal.bar
mtu 9230
load-interval 30
!
RP/0/RP0/CPU0:bsw1-ap100.sh#show running-config interface gigabitEthernet 0/0/0/7.1
Tue Sep 26 17:42:04.173 EEST
interface GigabitEthernet0/0/0/7.1 l2transport
description evc1@msw1-vokzal.bar
encapsulation untagged
lldp
enable
!
!
RP/0/RP0/CPU0:bsw1-ap100.sh#show running-config interface gigabitEthernet 0/0/0/7.1006
Tue Sep 26 17:42:07.281 EEST
interface GigabitEthernet0/0/0/7.1006
description BDI1006@msw1-vokzal.bar
ipv4 address 10.254.253.62 255.255.255.252
mpls
mtu 1530
!
encapsulation dot1q 1006
!
!
neighbor 10.254.254.12
remote-as 50401
description iBGP_msw1-vokzal.bar
update-source Loopback0
graceful-restart
address-family ipv4 unicast
route-policy iBGP_MPLS_VLAN10 out
soft-reconfiguration inbound always
!
address-family vpnv4 unicast
!
address-family l2vpn vpls-vpws
!
!
l2vpn
bridge group BNG
bridge-domain BNG_2020
interface FortyGigE0/0/0/30.2020
!
vfi BNG_2020
vpn-id 2020
autodiscovery bgp
rd auto
route-target 50401:2020
signaling-protocol ldp
vpls-id 50401:2020
!
!
!
!
!
!