Table Of Contents
OSPF Nonstop Forwarding (NSF) Awareness
Information About OSPF NSF Awareness
Benefits of OSPF NSF Awareness
How to Control OSPF NSF Awareness
Setting the OSPF Resynchronization Timeout Timer
Configuration Examples for OSPF NSF Awareness
Setting OSPF Resynchronization Timeout Example
Displaying OSPF Neighbor NSF Information
OSPF Nonstop Forwarding (NSF) Awareness
The OSPF Nonstop Forwarding (NSF) Awareness feature allows customer premises equipment (CPE) routers that are NSF-aware to help NSF-capable routers perform nonstop forwarding of packets.
Feature Specifications for the OSPF NSF Awareness Feature
Feature History Release Modification12.2(15)T
This feature was introduced.
Supported PlatformsFor information about platforms supported, refer to Cisco Feature Navigator.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•Information About OSPF NSF Awareness
•How to Control OSPF NSF Awareness
Information About OSPF NSF Awareness
The following concept describes the OSPF NSF Awareness feature:
•Benefits of OSPF NSF Awareness
Benefits of OSPF NSF Awareness
The OSPF Nonstop Forwarding (NSF) Awareness feature allows customer premise equipment (CPE) routers that are NSF-aware to help NSF-capable routers perform nonstop forwarding of packets. The awareness feature is part of the software code; it need not be configured.
The local router is not necessarily performing NSF; its awareness of NSF allows the integrity and accuracy of the RIB and link state database occurring on the neighboring NSF-capable router to be maintained during the switchover process.
How to Control OSPF NSF Awareness
OSPF NSF awareness is a feature that is part of the system's software code and need not be specifically enabled. However, there are a few optional tasks related to OSPF NSF awareness. This section contains the following tasks:
•Setting the OSPF Resynchronization Timeout Timer (optional)
•Disabling OSPF NSF Awareness (optional)
•Displaying OSPF Neighbor NSF Information (optional)
Setting the OSPF Resynchronization Timeout Timer
The user can configure a timer that sets the out-of-band resynchronization timer, which is a optional task described in this section.
Prerequisites
This task presumes that OSPF is already configured before you configure the out-of-band resynchronization timer. It also presumes that the local router is a neighbor to a router that is NSF-capable.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. ip ospf resync-timeout seconds
5. end
DETAILED STEPS
Disabling OSPF NSF Awareness
OSPF NSF awareness is enabled by default. You might want to disable NSF awareness by disabling the use of the Link-Local Signalling (LLS) data block in originated OSPF packets. You might want to disable NSF awareness if the router has no applications using LLS. Disabling NSF awareness is described in this section.
SUMMARY STEPS
1. enable
2. configure terminal
3. router ospf process-id
4. no capability lls
5. end
DETAILED STEPS
Configuration Examples for OSPF NSF Awareness
This section provides the following configuration examples:
•Setting OSPF Resynchronization Timeout Example
•Displaying OSPF Neighbor NSF Information
Setting OSPF Resynchronization Timeout Example
This example configures a 60-second resync timeout for OSPF on Ethernet interface 1:
interface ethernet 0ip address 10.93.1.1 255.255.255.0ip ospf cost 1!interface ethernet 1ip address 10.94.1.1 255.255.255.0ip ospf resync-timeout 60Displaying OSPF Neighbor NSF Information
You can issue the show ip ospf neighbor detail command and display a new line of output about an NSF-capable neighbor. The command displays the last successful out-of-band resynchronization with the NSF-capable router.
This document presumes that OSPF is configured and that the local router has a neighbor that is NSF-capable.
The following is sample output from the show ip ospf neighbor detail command. The bold line is the new output about the NSF-capable neighbor, which indicates Link-local Signaling and Out-of-band (oob) link-state database resynchronization was performed hours:minutes:seconds ago. The command displays the last successful out-of-band resynchronization with the NSF-capable router.
Router> show ip ospf neighbor detailNeighbor 192.168.5.2, interface address 10.225.200.28In the area 0 via interface GigabitEthernet1/0/0Neighbor priority is 1, State is FULL, 6 state changesDR is 10.225.200.28 BDR is 10.225.200.30Options is 0x42LLS Options is 0x1 (LR), last OOB-Resync 00:03:08 ago
Dead timer due in 00:00:36Neighbor is up for 00:09:46Index 1/1, retransmission queue length 0, number of retransmission 1First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)Last retransmission scan length is 1, maximum is 1Last retransmission scan time is 0 msec, maximum is 0 msecAdditional References
For additional information related to NSF and OSPF, see the following sections:
•MIBs
•RFCs
Related Documents
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents the following new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2 T command reference publications.
New Commands
Modified Command
capability lls
To enable the use of the Link-Local Signalling (LLS) data block in originated OSPF packets and reenable OSPF nonstop forwarding (NSF) awareness, use the capability lls command in router configuration mode. To disable LLS and OSPF NSF awareness, use the no form of this command.
capability lls
no capability lls
Syntax Description
This command has no arguments or keywords.
Defaults
LLS is enabled.
Command Modes
Router configuration
Command History
Usage Guidelines
You might want to disable NSF awareness by disabling the use of the Link-Local Signalling (LLS) data block in originated OSPF packets. You might want to disable NSF awareness if the router has no applications using LLS.
If NSF is configured and you try to disable LLS, you will receive the error message, "OSPF Non-Stop Forwarding (NSF) must be disabled first."
If LLS is disabled and you try to configure NSF, you will receive the error message, "OSPF Link-Local Signaling (LLS) capability must be enabled first."
Examples
The following example disables LLS support and OSPF NSF awareness:
router ospf 2no capability llsip ospf resync-timeout
To configure how long the router will wait before taking a neighbor adjacency down if the out-of-band resynchronization (oob-resync) has not taken place since the time a restart signal (OSPF Hello packet with RS-bit set) was received from the neighbor, use the ip ospf resync-timeout command in interface configuration mode. To restore the default value, use the no form of this command.
ip ospf resync-timeout seconds
no ip ospf resync-timeout
Syntax Description
Defaults
The default value is 40 seconds or the value set for the interface's OSPF dead interval, whichever is greater.
Command Modes
Interface configuration
Command History
Usage Guidelines
When an OSPF nonstop forwarding (NSF) router performs a route processor (RP) switchover, it notifies its neighbors, via a special Hello packet, of such action and requests that each neighbor help resynchronize the Link State Database.
When a neighbor (that is NSF-aware) receives the special Hello packet from the NSF-capable router, it starts a resync timeout timer and waits to synchronize its database with the NSF-capable router. If the NSF-capable router does not initiate the database resynchronization process before the resync-timeout timer expires, the NSF-aware neighbor will take down the adjacency with the NSF-capable router.
By default, the resync-timeout timer is set to 40 seconds or the dead interval of the interface, whichever is greater. (By default, the dead interval is 4 times the hello interval; the hello interval defaults to 10 seconds for Ethernet or 30 seconds for nonbroadcast.) The ip ospf resync-timeout command allows the resync-timeout to be changed and independent of the dead interval or default value.
Examples
This example sets the OSPF resync-timeout interval to 50 seconds:interface GigabitEthernet 6/0/0ip ospf resync-timeout 50Related Commands
show ip ospf neighbor
To display OSPF-neighbor information on a per-interface basis, use the show ip ospf neighbor command in EXEC mode.
show ip ospf neighbor [interface-type interface-number] [neighbor-id] [detail]
Syntax Description
Command Modes
EXEC
Command History
Examples
The following is sample output from the show ip ospf neighbor command showing a single line of summary information for each neighbor:
Router# show ip ospf neighborID Pri State Dead Time Address Interface10.199.199.137 1 FULL/DR 0:00:31 192.168.80.37 Ethernet0172.16.48.1 1 FULL/DROTHER 0:00:33 172.16.48.1 Fddi0172.16.48.200 1 FULL/DROTHER 0:00:33 172.16.48.200 Fddi010.199.199.137 5 FULL/DR 0:00:33 172.16.48.189 Fddi0The following is sample output showing summary information about the neighbor that matches the neighbor ID:
Router# show ip ospf neighbor 10.199.199.137Neighbor 10.199.199.137, interface address 192.168.80.37In the area 0.0.0.0 via interface Ethernet0Neighbor priority is 1, State is FULLOptions 2Dead timer due in 0:00:32Link State retransmission due in 0:00:04Neighbor 10.199.199.137, interface address 172.16.48.189In the area 0.0.0.0 via interface Fddi0Neighbor priority is 5, State is FULLOptions 2Dead timer due in 0:00:32Link State retransmission due in 0:00:03If you specify the interface along with the neighbor ID, the system displays the neighbors that match the neighbor ID on the interface, as in the following sample display:
Router# show ip ospf neighbor ethernet 0 10.199.199.137Neighbor 10.199.199.137, interface address 192.168.80.37In the area 0.0.0.0 via interface Ethernet0Neighbor priority is 1, State is FULLOptions 2Dead timer due in 0:00:37Link State retransmission due in 0:00:04You can also specify the interface without the neighbor ID to show all neighbors on the specified interface, as in the following sample display:
Router# show ip ospf neighbor fddi 0ID Pri State Dead Time Address Interface172.16.48.1 1 FULL/DROTHER 0:00:33 172.16.48.1 Fddi0172.16.48.200 1 FULL/DROTHER 0:00:32 172.16.48.200 Fddi010.199.199.137 5 FULL/DR 0:00:32 172.16.48.189 Fddi0The following is sample output from the show ip ospf neighbor detail command:
Router# show ip ospf neighbor detailNeighbor 192.168.5.2, interface address 10.225.200.28In the area 0 via interface GigabitEthernet1/0/0Neighbor priority is 1, State is FULL, 6 state changesDR is 10.225.200.28 BDR is 10.225.200.30Options is 0x42LLS Options is 0x1 (LR), last OOB-Resync 00:03:08 agoDead timer due in 00:00:36Neighbor is up for 00:09:46Index 1/1, retransmission queue length 0, number of retransmission 1First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)Last retransmission scan length is 1, maximum is 1Last retransmission scan time is 0 msec, maximum is 0 msecTable 1 describes the significant fields shown in the displays.