From CCIE Study Wiki
BGP NSF Awareness allows BGP peers of the failing router to retain the routing information that is advertised by the failing router and to continue to use this info until the router has returned to normal operating behavior.
Theory
NSF or Non-Stop Forwarding, allows the routers data plane to continue to forward traffic while the routing process in the control plane reboots. Cisco IOS relies on CEF to handle the forwarding while the routing process reboots. Also referred to as graceful restart
Devices participating in BGP NSF must be configured for graceful restart. After configuring, existing sessions must be reset (clear ip bgp * or reload) before graceful restart capabilities will be exchanged.
BGP marks routes from a router undergoing restart as stale but still uses them.
Commands
- bgp graceful-restart [restart-time seconds] [stalepath-time seconds] (router) - Enables NSF forwarding awareness in BGP/
Default Settings
- Graceful restart is not enabled by default.
- The restart-time, or time peer routers will wait to delete stale routes before a BGP open message is received is 120 seconds.
- The stalepath-time, or how long a router will wait to delete stale routes after an end of record (EOR) message is received is 360 seconds
Verification
Troubleshooting, Tips, and Tricks
- BGP graceful restart cannot support to routers undergoing a NSF restart at the same time.
Online Resources
Have something to contribute? See a mistake on this page? Have a hint or a link to share?
The CCIE Study Wiki is open to everyone to edit! All you need to do is to create an account to start contributing.
Please be sure to follow our posting guidelines when editing the wiki.
Maybe you have just have some thoughts or suggestions for this entry?
Use the Discussion link on the top or bottom menu to create or join the CCIE forum post on this topic.
You can also go straight to the CCIE Forums and start a new discussion in the forum of your choice.
If you'd rather just contact us with your thoughts, we'd love to hear what you have to say.