[quagga-users 12849] route-maps being ignored

"André Gustavo N. Lopes" andre at ondacorp.com.br
Thu Apr 5 15:59:16 BST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm facing some issues dealing with route-maps and bgp. I'm trying to
redistribute conected networks to ibgp, I have something like this:

router bgp NNNN
 bgp router-id 123.45.67.1
 bgp log-neighbor-changes
 network xxx.yyy.zzz.www/NN route-map EBGP_DIST
...
 redistribute connected metric 1010 route-map INTERFACES_REDISTRIBUTE_BGP
...

and the route-map

route-map INTERFACES_REDISTRIBUTE_BGP permit 10
 match interface vlan111
!
route-map INTERFACES_REDISTRIBUTE_BGP permit 15
 match interface vlan112
!

And the bad surprise...

# show ip bgp neighbors 123.45.67.2 advertised-routes
...
   Network          Next Hop            Metric LocPrf Weight Path
...
*> 123.45.48.246/32 123.45.67.1           1010    100  32768 ?
*> 123.45.49.248/29 123.45.67.1           1010    100  32768 ?
*> 123.45.55.128/28 123.45.67.1           1010    100  32768 ? VL111
*> 123.45.55.240/28 123.45.67.1           1010    100  32768 ? VL112
...

Okay, I can see the networks of my VLAN111 and VLAN112 over there...
but it seems the route-map is being ignored, since other routes are
being sent with metric 1010 as well (only this redistribution /
route-map changes the metric to 1010).

Another simtom is... if I remove some match interface... let's say,
vlan112, the given network persists on advertised-routes.

Am I missing / messing something?

Thanks in advance,

- -- 
André Gustavo N. Lopes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPfbNDAAoJED/ohHvKzwrPDUAIAOCrOsT8Fg+ygREgQbGSHpIv
jLaL0a06DT2arj34e6eg1J2kmLd3P8ak2n7zELOfksDRyHfaAXtpuv5OkwAcW+dy
4UF5I7qymGIzhEWe/NGuB2F3K8tXP6o2vnfzi1XzVR8nXw7cmd2xgQPnglKnUttr
yDF9LHD8tFI6UviMaWEjrqCi3jkZAPRku3MYKMcbREOkl+9L35ehZQDpbBWCALWv
QZ4fEGVEHvIOeWTyBmnycwyrvq8cMG6U9UESe8yohhbdVqfrTa/moahT04uoqucU
JmY45WgpaTJb4Aa/hS/Z9bCSvc74ZakTsYDZeLF78zkP0HdWH2aMp7LOEjQ2kWs=
=vbuk
-----END PGP SIGNATURE-----


More information about the Quagga-users mailing list