When using AS prepending in a multi-homed BGP environment (primary/secondary routers, secondary prepends one more ASN), how fast is reconvergence of inbound traffic when the primary router goes down? How much time does it generally take for other routers to notice the primary router is down and it should not use this route?
Default BGP keepalives are sent every 60 seconds. If a participating device does not receive a return response within 180 seconds, the default Hold Time, a reconvergence will occur. So by default, it will take 3 minutes for your devices to determine a neighbor is down before reconvergence.
keepalive: 60 seconds
holdtime: 180 seconds
Here are some helpful commands for BGP link