I've done some more digging and I believe it is an issue that AS path updates are added added to the RIB rather than replacing the current entry in the RIB. When I dump the RIB from one neighbor: > $ bgpctl show rib neighbor $ciscoip > cisco Then count the entries with and without duplicate prefixes I get different prefix counts: > $ cat cisco | wc -l > 212066 > $ cat cisco | sort -u -k2 | wc -l > 179908 Any insight would be appreciated.
Thanks, Dustin Lundquist Dustin Lundquist wrote: > We have a rather mysterious issue with our OpenBGPD box. We use it to > inject a bogon BGP feed and as a router monitor. We recently upgrade > from 3.6 to 4.0 and bgpd keeps closing the session because max-prefix > has been reached. I configured MRTG to generate graphs of prefixes on > each of our BGP session and can see the prefix count slowly growing from > about 160000 to 250000 over an 18 hour period. The Cisco router in > question would hit hardware limitations before it could announce 250k > prefixes, so I'm wondering if this could be an incompatibility or bug. > The same configuration was working under 3.6. > > Cisco config except: > neighbor --openbsdbox-- remote-as --ourasn-- > neighbor --openbsdbox-- description iBGP with OpenBGPD > neighbor --openbsdbox-- password 7 --md5 password removed-- > neighbor --openbsdbox-- version 4 > neighbor --openbsdbox-- next-hop-self > neighbor --openbsdbox-- route-map bogons in > neighbor --openbsdbox-- maximum-prefix 1000 70 > > /etc/bgpd.conf except: > group "iBGP" { > remote-as --ourasn-- > announce all > max-prefix 250000 restart 5 > multihop 3 > > neighbor --cisco-- { > descr "iBGP with cisco" > tcp md5sig password --md5 password removed-- > } > neighbor --anothercisco-- { > descr "iBGP with anothercisco" > tcp md5sig password --md5 password removed-- > } > }