I'm trying to set up BGP on a CRS354-48G-4S+2Q+RM in a VRF.
The BGP connection to the two peers works, prefixes are sent and received.
The problem: the received routes are not installed in the correct VRF.
Code: Select all
/ping 10.253.255.0 vrf=devices
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
The target is in the routing table:
Code: Select all
/routing/route/print
Flags: U, A - ACTIVE; c, b, y - COPY; H - HW-OFFLOADED; +, B - BLACKHOLE
Columns: DST-ADDRESS, GATEWAY, AFI, DISTANCE, SCOPE, TARGET-SCOPE, IMMEDIATE-GW
DST-ADDRESS GATEWAY AFI DISTANCE SCOPE TARGET-SCOPE IMMEDIATE-GW
Ac + 10.253.5.0/24 vlan-devices@devices ip4 0 10 vlan-devices
Ac + 10.253.5.0/24 vlan-devices@devices ip4 0 10 vlan-devices
UbH 10.253.253.46/31 10.253.254.46 ip4 20 40 10
UbH 10.253.253.46/31 10.253.253.46 ip4 20 40 10
Ac 10.253.253.46/31 uplink1.15@devices ip4 0 10 uplink1.15
UbH 10.253.254.46/31 10.253.253.46 ip4 20 40 10
UbH 10.253.254.46/31 10.253.254.46 ip4 20 40 10
Ac 10.253.254.46/31 uplink2.15@devices ip4 0 10 uplink2.15
UbH 10.253.255.0/31 10.253.253.46 ip4 20 40 10
UbH 10.253.255.0/31 10.253.254.46 ip4 20 40 10
UcH fe80::%ether49/64 ether49 ip6 0 10
Ac fe80::%uplink1/64 uplink1 ip6 0 10 uplink1
Ac fe80::%uplink2/64 uplink2 ip6 0 10 uplink2
Ac fe80::%bridge/64 bridge ip6 0 10 bridge
Ac fe80::%uplink1.15/64 uplink1.15@devices ip6 0 10 uplink1.15
Ac fe80::%uplink2.15/64 uplink2.15@devices ip6 0 10 uplink2.15
Ac fe80::%vlan-devices/64 vlan-devices@devices ip6 0 10 vlan-devices
A H uplink1 link 0
A H uplink2 link 0
A H bridge link 0
A H uplink1.15 link 0
A H uplink2.15 link 0
A H vlan-devices link 0
This is my config:
Code: Select all
/interface ethernet
set [ find default-name=sfp-sfpplus1 ] l2mtu=9022 mtu=9000 name=uplink1
set [ find default-name=sfp-sfpplus2 ] l2mtu=9022 mtu=9000 name=uplink2
/interface vlan
add interface=bridge name=vlan-devices vlan-id=100
add interface=uplink1 name=uplink1.15 vlan-id=15
add interface=uplink2 name=uplink2.15 vlan-id=15
/ip vrf
add interfaces=uplink1.15,uplink2.15,vlan-devices name=devices
/routing bgp template
add as=4242005901 disabled=no name=devices output.network=bgp-devices router-id=10.253.5.253 routing-table=devices vrf=devices
/ip address
add address=10.253.253.47/31 interface=uplink1.15 network=10.253.253.46
add address=10.253.254.47/31 interface=uplink2.15 network=10.253.254.46
add address=10.253.5.253/24 interface=vlan-devices network=10.253.5.0
add address=10.253.5.1/24 interface=vlan-devices network=10.253.5.0
/ip firewall address-list
add address=10.253.5.0/24 list=bgp-devices
/routing bgp connection
add disabled=no local.role=ebgp name=1-rtr-mgmt-core-cit remote.address=10.253.253.46 .as=4242000901 templates=devices
add disabled=no local.role=ebgp name=2-rtr-mgmt-core-cit remote.address=10.253.254.46 .as=4242000902 templates=devices