NSF – Non Stop Forwarding
What is NSF
NSF is a feature that allows routers to keep on forwarding traffic (non stop forwarding) even in the event of a restart. This is done by separating the control and the data plane, having one process involved in building the routing table and another process in forwarding the packets.This feature takes advantage of CEF which updates the line cards with the information from FIB.
In order for NSF to work, routers must be NSF-capable or NSF-aware. A NSF-capable router is a router that can perform restarts without disrupting packet forwarding, while a NSF-aware router understands NSF-specific signaling from NSF-capable routers. NSF requires these additional features because, while performing restart, a router will not be able to send Hellos to its peers. This normally should result in the neighbor relationship being dropped, routes being lost, packets being dropped. Routers exchange NSF capabilities information with each other and when a NSF-capable router performs a restart, its NSF-aware peers will change the default behavior in order to prevent breaking the neighbor relationship. NSF-aware routers are also called NSF-helpers because they will help a router performing a NSF restart to re-sync with the network as soon as possible.
NSF Support
EIGRP
To configure NSF supports for EIGRP, use:
To modify the EIGRP NSF timers, use:
OSPF
Cisco routers support 2 NSF modes, a Cisco-proprietary and an IETF-open-standard version (RFC 3623).
2.2.1 Cisco Mode
To configure NSF in Cisco Mode:
2.2.2 IETF Mode
To configure NSF for IETF Mode:
Strict LSA Checking is a feature of the IETF NSF mode for OSPF. When a router acts as a NSF-aware router (NSF-helper) it will stop the nsf-helper process if it detects a change of a LSA that would be forwarded to the restarting router. To enable this feature, use:
2.2.3 Verify OSPF NSF
To verify how OSPF works with NSF, you can use:
2.3 BGP
To enable NSF for BGP, use:
This command is enabled per address-family. You can enable it for all address families with:
To verify:
Last updated