Graceful Restart on the Receiving Switch

During session startup, BGP peers indicate whether they have the graceful restart capability. When BGP restarts, the receiving router retains routes received from the restarting router and marks those routes stale. The receiving router continues to advertise the restarting router as if it was fully functional until one of the following events occurs:

If the receiving router receives RIB updates and the EOR marker before the timers expire, it updates the local RIB and deletes any stale entries. If either of the timers on the receiving router expires before the receiving switch receives the EOR marker from the restarting switch, all stale routes are deleted.