The peer local-graceful-restart timer wait-for-rib command sets the maximum duration for a BGP restarter to wait for the End-of-RIB flag from a specified peer.
The undo peer local-graceful-restart timer wait-for-rib command deletes the configured duration.
By default, a BGP restarter waits for the End-of-RIB flag from a specified peer for a maximum of 600s.