I believe I've stumbled across an issue with filters in -current

This seems to have only bitten since updating from 4.2 release to - current anyway ...


80.252.124.20 is in group "switches"

yet ...

[EMAIL PROTECTED] bgpctl sh rib nei 80.252.124.20 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination         gateway          lpref   med aspath origin
[EMAIL PROTECTED] bgpctl sh rib nei 80.252.124.20 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination         gateway          lpref   med aspath origin
*>    192.88.83.0/24      80.252.125.2       200     0 9179 i
*>    193.195.141.0/24    80.252.125.2       200     0 9179 i
*>    213.170.0.0/19      80.252.125.2       200     0 9179 i

from bgpd.conf

my_nets = "{ 80.252.112.0/20, 84.246.192.0/21, 194.70.36.0/24 }"
allow to group switches community 8282:400
allow to group switches prefix $my_nets

bgpd -nv reports (abbreviated, full details available if necessary)

allow to group "switches" community 8282:400
allow to group "switches" prefix 194.70.36.0/24
allow to group "switches" prefix 84.246.192.0/21
allow to group "switches" prefix 80.252.112.0/20


[EMAIL PROTECTED] bgpctl sh rib community 8282:400
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination         gateway          lpref   med aspath origin
I*>   193.25.188.0/23     84.246.195.68      200     0 8276 35555 i
I*>   194.116.160.0/23    84.246.195.68      200     0 8276 i
*>    213.170.0.0/19      80.252.125.2       200     0 9179 i
*>    193.195.141.0/24    80.252.125.2       200     0 9179 i
*>    192.88.83.0/24      80.252.125.2       200     0 9179 i
I*    213.170.0.0/19      80.252.125.2       200     0 9179 i
I*    193.195.141.0/24    80.252.125.2       200     0 9179 i
I*    192.88.83.0/24      80.252.125.2       200     0 9179 i

a) I would expect to see "my nets" in the exports, and b) I would expect to see the whole of 8282:400 and not just a fraction

The receiving end seems to match what is being exported

core-2-b1#sh ip bg neighbors 80.252.124.2 received-routes
BGP table version is 1823, local router ID is 194.70.36.252
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
* i192.88.83.0      80.252.124.2                  200      0 9179 i
* i193.195.141.0    80.252.124.2                  200      0 9179 i
* i213.170.0.0/19   80.252.124.2                  200      0 9179 i

Total number of prefixes 3

Reply via email to