Table of Contents Link to heading
- Dual Route Processor Architecture
- RP Redundancy Modes: Pre-SSO
- SSO: Stateful Switchover
- Non-Stop Forwarding (NSF)
- Graceful Restart (GR)
- Non-Stop Routing (NSR)
- GR vs NSR: Choosing the Right HA Mechanism
- Configuration
- Verification
Dual Route Processor Architecture Link to heading
High-end Cisco routers and switches (Catalyst 6800/9400/9600, ASR 1000, ASR 9000, Nexus 7000/9000) support redundant Route Processors (RPs) or Supervisor Engines. The RP is the control-plane card — it runs the OS, routing protocols, and management functions.
In a dual-RP system:
- One RP is active: handles all control-plane functions
- One RP is standby: ready to take over if the active fails
The behaviour during failover — and how much disruption occurs — depends on which redundancy mode is configured.
RP Redundancy Modes: Pre-SSO Link to heading
Cisco implemented RP redundancy in progressive generations, each reducing failover impact:
| Mode | Full Name | Standby State | Config Sync | Protocol State | Failover Impact |
|---|---|---|---|---|---|
| HSA | High System Availability | Inactive (cold standby) | None | None | Full reload of standby — minutes of downtime |
| RPR | Route Processor Redundancy | Partially initialised (warm) | Startup config only | None | Standby boots faster but re-runs protocols |
| RPR+ | Route Processor Redundancy+ | Fully initialised (warm) | Startup + running config | None | Faster yet — still re-runs protocols on failover |
In all pre-SSO modes, routing protocol adjacencies (OSPF, BGP, EIGRP) go down during RP failover. Traffic is black-holed until protocols re-converge and the RIB and FIB are rebuilt.
SSO: Stateful Switchover Link to heading
SSO synchronises to the standby:
- Full running configuration
- Layer 2 state — spanning tree, EtherChannel, MAC tables
- Layer 2 forwarding (via CEF/FIB checkpointing to line cards)
SSO does not automatically synchronise:
- Routing protocol state (RIB, adjacency tables) — this requires NSF, GR, or NSR
- Dynamic ARP entries
- DHCP binding tables (unless separately configured)
When the active RP fails under SSO, the standby takes over and line cards continue forwarding based on the FIB that was checkpointed before the failure. However, routing protocol adjacencies are initially down — the device is forwarding on potentially stale routes.
Non-Stop Forwarding (NSF) Link to heading
NSF provides:
- Continued data-plane forwarding during RP failover (using the pre-switchover FIB)
- A window of time (NSF grace period) during which the new active RP re-establishes routing protocol adjacencies and rebuilds the routing table
NSF does not checkpoint L3 control-plane state — routing protocol adjacencies and RIB entries are lost at switchover. The device is forwarding on a potentially stale FIB until protocols reconverge.
Graceful Restart (GR) Link to heading
GR roles:
- GR-capable: The device that is performing the RP failover. Must signal GR intent to neighbours before or during the restart.
- GR-aware (helper): Neighbouring devices that recognise the GR signal and continue to advertise routes to the restarting device during the grace period, without declaring the adjacency down.
GR grace period: The maximum time the restarting router is given to re-establish its routing protocol sessions and rebuild its RIB. During this window, GR-aware neighbours continue forwarding traffic toward the restarting router as if nothing happened.
Protocol-specific GR implementation:
- OSPF GR: RFC 3623 / Cisco proprietary. Helper routers maintain the restarting router’s LSAs in the LSDB during the grace period.
- BGP GR: RFC 4724. Helper routers continue advertising preserved routes while the BGP session recovers.
- EIGRP GR: Cisco proprietary. Neighbours hold adjacency during the grace period.
Non-Stop Routing (NSR) Link to heading
NSR advantages over GR:
- No dependency on neighbour support — GR requires neighbours to be GR-aware; NSR is entirely local
- Routing protocol adjacencies never go down from the perspective of any device in the network
- No grace period concept — the new active RP already has all protocol state
NSR disadvantages:
- Significant additional load on both RPs — all protocol state must be continuously synchronised in real time
- More complex failure modes — if the synchronisation between active and standby fails silently, the standby may have stale state at switchover time
- Not supported on all protocols or platforms — check platform documentation
GR vs NSR: Choosing the Right HA Mechanism Link to heading
| Criterion | Graceful Restart (GR) | Non-Stop Routing (NSR) |
|---|---|---|
| Neighbour awareness | Neighbours must be GR-aware (helpers) | Completely transparent to neighbours |
| Protocol state at switchover | Lost — re-established during grace period | Fully preserved — no reconvergence |
| RP overhead | Low | High — continuous state synchronisation |
| Suitable for | Environments where neighbours support GR | Service provider or carrier-grade networks |
| Failure transparency | Visible to GR-aware neighbours (grace period signal) | Completely invisible |
Configuration Link to heading
! Enable SSO (automatically enables NSF)
redundancy
mode sso
! Verify standby RP is in SSO state before proceeding
show redundancy states
OSPF NSF/GR (Cisco proprietary):
router ospf 1
nsf cisco
OSPF NSF/GR (IETF RFC 3623):
router ospf 1
nsf ietf
BGP GR:
router bgp 65001
bgp graceful-restart
bgp graceful-restart restart-time 120
bgp graceful-restart stalepath-time 360
EIGRP NSF:
router eigrp 100
nsf
NSR (platform-dependent — IOS XR example):
router ospf 1
nsr
Verification Link to heading
show redundancy
show redundancy states
show redundancy history
! Protocol-specific NSF/GR state
show ip ospf nsf
show bgp ipv4 unicast neighbors <ip> | include Graceful
show ip eigrp neighbors detail | include NSF
show redundancy states is the primary command. It shows which RP is active, which is standby, and the current redundancy mode. The standby should show Standby Hot — any other state (Standby Cold, Disabled) indicates the redundancy mechanism is not fully operational and failover will not be hitless.