.. _example_protocols_bgp_neighbor_graceful-restart: ################ Graceful-Restart ################ Scenario to verify BGP **neighbor graceful-restart** functionality. Graceful restart allows a BGP router to maintain forwarding state during a restart, minimizing traffic disruption. The helper peer keeps routes from the restarting peer temporarily instead of immediately removing them. This test uses the shutdown command to simulate a session drop. **************************************** Test iBGP - Graceful restart with helper **************************************** Description =========== Test BGP **graceful-restart** functionality. DUT0 is configured in restart mode and DUT1 as helper. When DUT0's BGP session goes down (via shutdown), DUT1 should keep the routes from DUT0 temporarily (stale) instead of immediately removing them. Scenario ======== .. include:: graceful-restart/testibgp-gracefulrestartwithhelper .. raw:: html
************************************* Test iBGP - Graceful restart disabled ************************************* Description =========== Test BGP behavior when **graceful-restart is disabled**. When the session goes down, the peer should immediately remove the routes instead of keeping them as stale. Scenario ======== .. include:: graceful-restart/testibgp-gracefulrestartdisabled .. raw:: html