Using a this on an IBGP peer
For Clarity
The IBGP-LOCAL-PREF-LIST has test ip range on it. 192.168.0.0/24
Filter script.
if (dst in IBGP-LOCAL-PREF-50-LIST) {set bgp-local-pref 51; set bgp-igp-metric 23; accept} else{accept}
ON the PEERED Router
The bgp-local-pref gets set to “51” as defined. SO that part of the script is correct.
The bgp-igp-metric doesn’t get set to “23” though
any Ideas on why.. I have actually tried other properties but nothing gets set other than the first action.
Tried distance,bgp-weight is this because its an IBGP link not an external BGP peer?
Thanx
Based on the Mikrotik docs I says that BGP-IGP-METRIC, along with scope,distance bgp-weight are writeable properties that can be used in filters like this.
Initially I just needed to adjust the bgp-local-pref, but wanted to ensure other options would be available later on.
So I am trying to get other properties to be passed.
Am I using this in the wrong way? (which may be the case) or I may have mis-interpreted the documentation.
Ok. The docs don’t give that much of an explanation on this.
What can be passed on an output filter other than bgp-local-pref ?
The “Writable Properties” section in the route filters section doesn’t say which can or can’t
Thanx