The (Unofficial) CCNP-SP Study Guide
  • About
    • About the Author
    • About This Study Guide
  • MPLS
    • LDP
      • LDP Transport Address
      • LDP Conditional Advertisement
      • LDP Authentication
      • LDP/IGP Sync
      • LDP Session Protection
    • MPLS-TE
      • MPLS-TE Basics, Pt. 1 (TED)
      • MPLS-TE Basics, Pt.2 (RSVP)
      • MPLS-TE Basics, Pt.3 (CSPF)
      • MPLS-TE Basics, Pt.4 (Routing)
      • MPLS-TE Fast Reroute (FRR)
      • MPLS-TE with OSPF
    • Unified MPLS
    • Segment Routing
      • Introduction, Theory Pt.1
      • Introduction, Lab (OSPF) Pt.2
      • Introduction, Lab (ISIS) Pt. 3
      • Multi-Area/Level Segment Routing
      • Segment Routing using BGP
      • Migrating LDP to SR
      • LDP/SR Interworking
      • TI-LFA Pt. 1 (Theory)
      • TI-LFA Pt. 2 (Implementation)
      • TI-LFA Pt. 3 (Node and SRLG Protection)
      • SR-TE Pt. 1 (Overview)
      • SR-TE Pt. 2 (Creating an SR-TE Policy)
      • SR-TE Pt. 3 (Using a PCE)
      • SR-TE Pt. 4 (Automated Steering)
      • SR-TE Pt. 5 (On-Demand Nexthop)
      • SR-TE Pt. 6 (Flex Algo)
    • MPLS OAM
      • Classic Traceroute Behavior in MPLS Networks
      • LSP Ping
      • LSP Traceroute
  • Routing
    • BGP
      • BGP Synchronization
      • BGP Load Sharing (Multipath)
      • An Intuitive Look at Path Attributes
      • AS Path Prepending on XE and XR
      • RPL
    • BGP Security
      • BGP TTL Security, Pt. 1
      • BGP TTL Security, Pt. 2 (IOS-XE)
      • BGP TTL Security, Pt. 3 (IOS-XR)
      • BGP MD5 Authentication
      • BGP Maximum Prefixes
      • BGP RFD (Route Flap Dampening)
      • RTBH
      • Flowspec
      • BGPsec
    • L3VPN
      • An In-Depth Look at RD and RT, Pt. 1
      • An In-Depth Look at RD and RT, Pt. 2
      • An In-Depth Look at RD and RT, Pt. 3
      • An In-Depth Look at RD and RT, Pt. 4
      • Inter-AS L3VPN Pt. 1, Overview
      • Inter-AS L3VPN Pt. 2, Option A
      • Inter-AS L3VPN Pt. 3, Option B
      • Inter-AS L3VPN Pt. 4, Option C
      • CSC (Carrier Supporting Carrier)
      • PE NAT
    • OSPF
      • Type 7 to Type 5 Translation
      • OSPF Authentication
      • Troubleshooting OSPF Adjacencies
      • OSPFv3 LSA Types
      • OSPFv3 LSAs Example (Single Area)
    • ISIS
      • The Potential for Asymmetric Routing with Multi-Area ISIS
      • Interarea Routing is Distance-Vector
      • Basic ISIS - LSPDB
      • Multitopology
      • What is the role of CLNS and CLNP in ISIS?
      • Troubleshooting ISIS Adjacencies
    • IPv6 Transition
      • Overview
      • NAT64
      • 6to4
      • 6RD (IPv6 Rapid Deployment)
      • DS Lite (Dual Stack Lite)
      • MAP (Mapping of Address and Port)
      • Tunneling IPv6 Dynamic Routing Protocols over IPv4
    • Multicast
      • Introduction
      • IP and MAC Addressing
      • Tree Formation and Packet Forwarding
      • IGMP
      • PIM-DM (Dense Mode)
      • PIM-SM (Sparse Mode)
      • PIM-SM SPT Switchover
      • PIM-SM Tunnel Interfaces
      • PIM DR and the Assert Message
      • PIM-SM RP Discovery
      • PIM-BiDir
      • PIM-SSM (Source-Specific Multicast)
      • Interdomain Multicast (PIM-SM)
      • IPv6 Multicast
      • mVPN Introduction
      • mVPN Profile 0
      • mVPN Profile 1
      • Multicast Routing on IOS-XR
  • L2VPN & Ethernet
    • IOS-XE Ethernet Services
      • Service Instances
      • E-Line
      • E-LAN (VPLS)
      • E-Tree
      • E-Access
      • VPLS with BGP Autodiscovery
      • Martini/Kompella Circuits
    • EVPN
      • Introduction to EVPN
      • Learning EVPN VXLAN First
      • E-Line (EVPN VPWS)
      • E-Line (EVPN VPWS) on IOS-XR
      • E-Line (EVPN VPWS) Multi-Homed
      • E-LAN (EVPN Single-Homed)
    • Carrier Ethernet
      • 802.1ah (MAC-in-MAC)
      • 802.3ah (Ethernet OAM)
      • 802.1ag (CFM)
      • Cisco REP (Resilient Ethernet Protocol)
      • ITU G.8032 ERPS (Ethernet Ring Protection Switching)
  • Security
    • CoPP (Control Plane Policing)
    • LPTS (Local Packet Transport Services)
  • Misc
    • QoS
      • QoS Introduction (Part 1)
      • QoS Tools Overview and QoS Models (Part 2)
      • QoS Classification and Marking (Part 3)
      • QoS Queuing/Congestion Management (Part 4)
      • QoS Shaping and Policing (Part 5)
      • QoS for IPv6
      • MPLS QoS Basics
      • MPLS QoS Modes
      • MPLS TE QoS (DS-TE)
      • MPLS TE CBTS/PBTS
    • Automation and Assurance
      • NSO
      • NSO Command Cheat Sheet
      • Intro to YANG/NETCONF
      • YANG In-Depth
      • NETCONF In-Depth
      • RESTCONF
      • Model-Driven Telemetry
      • Automation Tool Comparison
      • Netflow
      • SNMP
    • Virtualization
      • NFV (Network Function Virtualization)
      • OpenStack
    • Transport
      • xPON
      • SONET/SDH
      • WDM
      • 4G and 5G RAN
    • High Availability (HA)
      • NSF/GR
      • NSR
      • NSF/NSR Whitepapers
      • BFD
      • Link Aggregation on IOS-XE
      • Link Aggregation on IOS-XR
    • IOS Software Overview
  • Labs
    • Lab Challenges
      • How to Use These Labs
      • Basic LDP
      • Advanced LDP
      • BGP Security
      • Unified MPLS
      • BGP Fundamentals
      • Ethernet Services
      • L3VPN Extranet
      • Multicast
      • Inter-area OSPF
      • ISIS
      • MPLS-TE
      • Control Plane Policing
      • QoS
Powered by GitBook
On this page
  • ISIS NSR
  • OSPF NSR
  • LDP NSR
  • BGP NSR
  • Futher Reading
  1. Misc
  2. High Availability (HA)

NSR

NSF/GR uses modifications to existing protocols (OSPF, ISIS, BGP and LDP) to allow a router to switchover from an active RP to a standby RP without disruption to the routing protocol adjacency. This adds quite a bit of complexity and each protocol handles GR slightly differently. Wouldn’t it be better if the router could internally sync it’s active RP and standby RP, so that when a switchover happens, the standby RP already knows the adjancy states, LSDBs, etc, and the neighbor does not need to “help” rebuild the RIB?

This is exactly what NSR enables. NSR stands for Non-stop routing and can be enabled and used on a router without any support or negotiation with its neighbors. NSR is transparent, because a neighbor will not know whether the router underwent a SSO event. It is a completely internal process on the router preforming switchover.

ISIS NSR

We saw in the previous article that the cisco mode for nsf effectively enables NSR. On IOS-XE I believe this is still the only way to achieve NSR for ISIS. On IOS-XR you have the option of NSF modes plus NSR. My guess is that cisco mode and NSR effectively do the same thing.

csr1000v(config)#router isis
csr1000v(config-router)#nsf cisco

RP/0/0/CPU0:XRv(config-isis)#nsf ?
  cisco              Cisco Proprietary NSF restart
  ietf               IETF NSF restart
  interface-expires  # of times T1 can expire waiting for the restart ACK
  interface-timer    Timer used to wait for a restart ACK (seconds)
  lifetime           Maximum route lifetime following restart (seconds)
RP/0/0/CPU0:XRv(config-isis)#nsr ?
  <cr>

OSPF NSR

NSR for OSPF is quite straightforward. Simply enable nsr under the ospf process.

csr1000v(config)#router ospf 1
csr1000v(config-router)#nsr

RP/0/0/CPU0:XRv(config)#router ospf 1
RP/0/0/CPU0:XRv(config-ospf)#nsr

LDP NSR

Likewise NSR for LDP is simple. NSR for LDP syncs the LIB with the standby RP so that during a switchover event, all label bindings and LDP adjacencies are retained.

csr1000v(config)#mpls ldp nsr

RP/0/0/CPU0:XRv(config)#mpls ldp
RP/0/0/CPU0:XRv(config-ldp)#nsr

BGP NSR

To enable NSR in XR you use the following command:

RP/0/0/CPU0:XRv(config)#router bgp 65000
RP/0/0/CPU0:XRv(config-bgp)#nsr

The command syntax for XE is slightly different:

csr1000v(config)#router bgp 65000
csr1000v(config-router)#bgp ha-mode sso

In both cases it appears that you are supposed to also enable GR, and the router will preform GR if the peer supports it. If not, the router can use NSR.

In IOS-XE you can also enable NSR or GR on a per-neighbor basis:

csr1000v(config-router)#neighbor 1.1.1.1 ha-mode ?
  graceful-restart  graceful-restart for this peer
  sso               stateful-switchover support for this peer

Futher Reading

PreviousNSF/GRNextNSF/NSR Whitepapers

Last updated 1 year ago

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/routing/60x/b-ncs5500-routing-configuration-guide-60x/b-ncs5500-routing-configuration-guide-60x_chapter_00.html#id_32096
https://www.cisco.com/c/en/us/td/docs/ios/12_2sb/feature/guide/sbb_bnsr.html