Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Network & Infrastructure / OSPF & Underlay Convergence

Drain an OSPF transit router before planned maintenance

A router is rebooted during maintenance while it still attracts transit traffic. Fast neighbor recovery afterward does not eliminate the avoidable loss during shutdown and restart.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: OSPFv2 IPv4 underlays, with OSPFv3 explicitly identified where used; timers and diagnostics vary by platform. Diagnostic/design example; not tested on production equipment.

What to check first

Inventory transit paths, attached destination subnets and the platform's maximum-metric behavior. Check whether alternate paths have capacity and whether the maintenance router is also an irreplaceable endpoint.

What the results mean

Raising transit cost can discourage through traffic while preserving necessary reachability, but exact LSA and stub-link behavior depend on the implementation and selected options.

Plan the fix

Use the documented maintenance-drain mechanism, wait for route and traffic evidence, then proceed with the approved outage. Do not assume a successful command means all transit flows have moved.

Check the result and know how to undo the change

Require traffic counters and remote next hops to reflect the drain before shutdown. Restore normal metrics gradually after health checks; abort if alternate links saturate or attached services become isolated.

Source & further reading

FRRouting — OSPFv2

RFC 2328 — OSPFv2

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles