Draining a BGP session
Before you take down a link for maintenance, you want traffic to move off it gently rather than drop when the session does. Draining shifts the load away first, so the actual cut is a non-event.
Shift traffic before you cut
By making a session less preferred — lowering its local preference outbound, prepending or signalling with communities inbound — you encourage traffic onto your other paths while the session is still up. Only once it has drained do you take it down, so nothing is lost at the moment of the cut.
Verify it actually moved
Watch the traffic on the session fall toward zero before you proceed, rather than assuming the signal worked. Inbound traffic depends on other networks reacting, which is not instant — give it time and confirm with your traffic monitoring.
Bring it back cleanly
After the work, restore the preferences and let traffic settle back before you drain the next link. Doing maintenance one session at a time, each drained first, is how a multihomed setup stays up through planned work — see multihoming and change windows.
Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base