Sun Apr 07, 2019 9:24 pm
I was with the configuration below:
/routing bgp instance
set default as=XXXXXX client-to-client-reflection=no disabled=yes router-id=XXX.XX.68.X
add as=XXXXXX client-to-client-reflection=no name=VIVO out-filter=vivo-out router-id=XXX.XX.69.X routing-table=VIVO
add as=XXXXXX client-to-client-reflection=no name=NTT out-filter=ntt-out router-id=XXX.XX.70.X routing-table=NT
/routing bgp peer
add in-filter=vivo-in instance=VIVO name=vivo remote-address=XXX.XX.X.XXX remote-as=XXXXX1 ttl=default update-source=br-bgp
add in-filter=ntt-in instance=NTT name=ntt out-filter=ntt-out remote-address=XXX.XXX.XX.XX remote-as=XXXXXX2 ttl=default update-source=vlan2000-NTTurbo
The command below did not show:
/routing bgp advertisements> print
PEER PREFIX NEXTHOP AS-PATH ORIGIN LOCAL-PREF
vivo xxx.xx.68.0/23 xxx.xx.x.xxx igp
vivo xxx.xx.68.0/24 xxx.xx.x.xxx igp
vivo xxx.xx.69.0/24 xxx.xx.x.xxx igp
ntt xxx.xx.68.0/22 xxx.xxx.xx.xx igp
ntt xxx.xx.70.0/24 xxx.xxx.xx.xx igp
BUT the output filter has not been applied to VIVO peer.
After confirming with VIVO that it was actually leaking the route I changed it by putting the out-filter in the peer.
/routing bgp instance
set default as=XXXXXX client-to-client-reflection=no disabled=yes router-id=XXX.XX.68.X
add as=XXXXXX client-to-client-reflection=no name=VIVO out-filter=vivo-out router-id=XXX.XX.69.X routing-table=VIVO
add as=XXXXXX client-to-client-reflection=no name=NTT out-filter=ntt-out router-id=XXX.XX.70.X routing-table=NT
/routing bgp peer
add in-filter=vivo-in instance=VIVO name=vivo out-filter=vivo-out remote-address=XXX.XX.X.XXX remote-as=XXXXX1 ttl=default update-source=br-bgp
add in-filter=ntt-in instance=NTT name=ntt out-filter=ntt-out remote-address=XXX.XXX.XX.XX remote-as=XXXXXX2 ttl=default update-source=vlan2000-NTTurbo
the command below did not change the displayed result.
/routing bgp advertisements> print
PEER PREFIX NEXTHOP AS-PATH ORIGIN LOCAL-PREF
vivo xxx.xx.68.0/23 xxx.xx.x.xxx igp
vivo xxx.xx.68.0/24 xxx.xx.x.xxx igp
vivo xxx.xx.69.0/24 xxx.xx.x.xxx igp
ntt xxx.xx.68.0/22 xxx.xxx.xx.xx igp
ntt xxx.xx.70.0/24 xxx.xxx.xx.xx igp
I wonder if this was a bug? which error exactly? /system routerboard print
routerboard: yes
model: CCR1036-12G-4S
serial-number: XXXXXXXXXXXX
firmware-type: tilegx
factory-firmware: 3.27
current-firmware: 6.44.1
upgrade-firmware: 6.44.1