Information About Configuring NSR, TCP, UDP Transports
To configure NSR, TCP, UDP, and RAW transports, you must understand the following concepts:
NSR Overview
Feature Name |
Release |
Description |
---|---|---|
Nonstop Routing (NSR) |
Release 24.4.1 |
Introduced in this release on: Fixed Systems (8700 [ASIC:K100])(select variants only*). NSR ensures uninterrupted routing by maintaining protocol sessions during process restarts, thus enhancing network reliability. It eliminates session loss and minimizes packet drop by preserving the router's state and synchronizing it with standby processes. This reliability is particularly beneficial for maintaining stable connections in dynamic environments. By automatically synchronizing routing information, NSR provides seamless network operation and reduces the need for manual intervention during failures. This feature is essential for environments demanding continuous network availability and high resilience to faults. *Previously this feature was supported on Q200 and Q100. It is now extended to Cisco 8712-MOD-M routers. |
Nonstop Routing (NSR) is provided for Open Shortest Path First (OSPF), Border Gateway Protocol (BGP), and Label Distribution Protocol (LDP) protocols for the following events:
-
Route Processor (RP) failover
-
Process restart for either OSPF, LDP, or TCP
-
Online insertion removal (OIR)
In the case of the RP failover, NSR is achieved by for both TCP and the applications (OSPF, BGP, or LDP).
NSR is a method to achieve High Availability (HA) of the routing protocols. TCP connections and the routing protocol sessions are migrated from the active RP to standby RP after the RP failover without letting the peers know about the failover. Currently, the sessions terminate and the protocols running on the standby RP reestablish the sessions after the standby RP goes active. Graceful Restart (GR) extensions are used in place of NSR to prevent traffic loss during an RP failover but GR has several drawbacks.
You can use the nsr process-failures switchover command to let the RP failover be used as a recovery action when the active TCP or active LDP restarts. When standby TCP or LDP restarts, only the NSR capability is lost till the standby instances come up and the sessions are resynchronized but the sessions do not go down. In the case of the process failure of an active OSPF, a fault-management policy is used.
For more information, refer to chapter Implementing OSPF Routing Configuration Guide for Cisco 8000 Series Routers.
TCP Overview
TCP is a connection-oriented protocol that specifies the format of data and acknowledgments that two computer systems exchange to transfer data. TCP also specifies the procedures the computers use to ensure that the data arrives correctly. TCP allows multiple applications on a system to communicate concurrently, because it handles all demultiplexing of the incoming traffic among the application programs.
UDP Overview
The User Datagram Protocol (UDP) is a connectionless transport-layer protocol that belongs to the IP family. UDP is the transport protocol for several well-known application-layer protocols, including Network File System (NFS), Simple Network Management Protocol (SNMP), Domain Name System (DNS), and TFTP.
Any IP protocol other than TCP and UDP is known as a RAW protocol.
For most sites, the default settings for the TCP, UDP, and RAW transports need not be changed.
Prerequisites for Configuring NSR, TCP, UDP, Transports
The following prerequisites are required to implement NSR, TCP, UDP, Transports:
You must be in a user group associated with a task group that includes the proper task IDs. The command reference guides include the task IDs required for each command. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Configuring Failover as a Recovery Action for NSR
When the active TCP or the NSR client of the active TCP terminates or restarts, the TCP sessions go down. To continue to provide NSR, failover is configured as a recovery action. If failover is configured, a switchover is initiated if the active TCP or an active application (for example, LDP, OSPF, and so forth) restarts or terminates.
For information on how to configure MPLS Label Distribution Protocol (LDP) for NSR, refer to the MPLS Configuration Guide for Cisco 8000 Series Routers.
For information on how to configure NSR on a per-process level for each process, refer to the Routing Configuration Guide for Cisco 8000 Series Routers.
Configuration Example
Configure failover as a recovery action for active instances to switch over to a standby to maintain nonstop routing.
Router#configure
Router(config)#nsr process-failures switchover
Router(config)#commit
Running Configuration
Router#show running-configuration nsr process-failures switchover
nsr process-failures switchover
Associated Commands
-
nsr process-failures switchover