.. _example_protocols_ripng_timers_garbage-collection: ################## Garbage-Collection ################## Test to verify RIPng **garbage collection timer** for removing stale IPv6 routes. This validates the **two-stage removal process:** After routes are marked **invalid** by the ``timeout timer`` (``metric 16``), the ``garbage collection timer`` **completely removes** them from the routing table. This test simulates neighbor loss by removing RIPng configuration. *********************************** Test RIPng Garbage Collection Timer *********************************** Description =========== Verify ``RIPng`` **garbage collection timer** completely removes invalid IPv6 routes. **DUT0** advertises the route ``2001:db8:10::/64`` to **DUT1**. Then ``RIPng`` is deleted from **DUT0** to simulate a neighbor loss. After 5 seconds, the route is marked as **invalid** with ``metric 16``. After an additional 5 seconds, the route is **completely removed** from the routing table. This demonstrates the **two-stage process** that prevents stale routes from persisting indefinitely. Scenario ======== .. include:: garbage-collection/testripnggarbagecollectiontimer .. raw:: html