Community discussions

MikroTik App
 
mhugo
Member Candidate
Member Candidate
Topic Author
Posts: 179
Joined: Mon Sep 19, 2005 11:48 am

Local preference not applied in BGP

Fri Dec 18, 2020 7:49 pm

Im trying to apply local preference to incoming bgp from external peer. Its the only filter router I have for the peers inbound bgp.

Neither of these work and its announced to the internal BGP routers in same AS.

add action=accept append-bgp-communities="" chain=bgp-transit4-in set-bgp-communities="" set-bgp-local-pref=75
add action=accept append-bgp-communities="" chain=bgp-transit4-in prefix=0.0.0.0/0 set-bgp-communities="" set-bgp-local-pref=75

This should be simple so Im probably just stupider than usual. :)

/Mikael
 
guntis84
just joined
Posts: 2
Joined: Sat Jun 02, 2018 5:52 pm

Re: Local preference not applied in BGP  [SOLVED]

Wed Dec 30, 2020 1:30 pm

Filtrs pareizs, tikai jāpievieno BGP peeram! ;)
 
mhugo
Member Candidate
Member Candidate
Topic Author
Posts: 179
Joined: Mon Sep 19, 2005 11:48 am

Re: Local preference not applied in BGP

Wed Dec 30, 2020 1:34 pm

Filtrs pareizs, tikai jāpievieno BGP peeram! ;)
Yes this was for sure an operator bug :) For other users with the same issue - make sure the filter is applied to the bgp peer.

Who is online

Users browsing this forum: No registered users and 15 guests