Finding number of routes received when receive limit is hit
Hello everybody, On my Bird 1.6.6 routers I have a BGP peer which has gone over his specified received limit setting a couple of times in the last few weeks. The receive limit is configured at our end to what is specified on PeeringDB + 10%, which should be the correct number. The session I have with them over a different IX doesn't have the same issue. So the peer has some issue in his network on one router and I would like to help them fix it. It would be really helpful if I could see what I actually receive from him, or at least the number of routes I receive from them. That could be a pointer to what is going wrong (especially if I receive 760.000 v4 routes ;) ). I do specify the action when the receive limit is hit, and I have that configured to 'restart'. I've just checked the documentation and I couldn't find a way to get this number or information. It might be 'action block', but especially if I do receive a full table from them (by mistake) doesn't that mean that my routers just accept whatever prefixes I receive up to the receive limit and ignore everything above it. Or is the entire session ignored with 'action block'? Can somebody point me in the right direction? Kind regards, Cybertinus
On Sun, Sep 08, 2019 at 09:00:09AM +0200, Cybertinus wrote:
Hello everybody,
On my Bird 1.6.6 routers I have a BGP peer which has gone over his specified received limit setting a couple of times in the last few weeks. ... It would be really helpful if I could see what I actually receive from him, or at least the number of routes I receive from them. ... number or information. It might be 'action block', but especially if I do receive a full table from them (by mistake) doesn't that mean that my routers just accept whatever prefixes I receive up to the receive limit and ignore everything above it.
Hello If you restart session after hitting the limit, then obviously you cannot know how many routes would be sent to you. You can set action block, which ignore everything above it, like you wrote. These ignored routes would be counted in 'import updates ignored', and logged when 'debug { filters }' is enabled. Note that the counter does not show number of blocked routes/networks, but number of blocked route updates - multiple updates for one network are counted multiple times. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Cybertinus -
Ondrej Zajicek