OSPF Incremental SPF

Last Updated: November 1, 2011

The Open Shortest Path First (OSPF) protocol can be configured to use an incremental SPF algorithm for calculating the shortest path first routes. Incremental SPF is more efficient than the full SPF algorithm, thereby allowing OSPF to converge faster on a new routing topology in reaction to a network event.

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information for OSPF Incremental SPF, page 4.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

Prerequisites for OSPF Incremental SPF

It is presumed that you have OSPF configured in your network.

Information About OSPF Incremental SPF

OSPF uses Dijkstra's SPF algorithm to compute the shortest path tree (SPT). During the computation of the SPT, the shortest path to each node is discovered. The topology tree is used to populate the routing table with routes to IP networks. When changes to a Type-1 or Type-2 link-state advertisement (LSA) occur in an area, the entire SPT is recomputed. In many cases, the entire SPT need not be recomputed because most of the tree remains unchanged. Incremental SPF allows the system to recompute only the affected part of the tree. Recomputing only a portion of the tree rather than the entire tree results in faster OSPF convergence and saves CPU resources. Note that if the change to a Type-1 or Type-2 LSA occurs in the calculating router itself, then the full SPT is performed.

Incremental SPF is scheduled in the same way as the full SPF. Routers enabled with incremental SPF and routers not enabled with incremental SPF can function in the same internetwork.

How to Enable OSPF Incremental SPF

Enabling Incremental SPF

This section describes how to enable incremental SPF.

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. router ospf process-id
  4. ispf
  5. end

DETAILED STEPS

Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
router ospf process-id
Example:
Router(config) % router ospf 1
Configures an OSPF routing process.
Step 4
ispf
Example:
Router(config-router)# ispf
Enables incremental SPF.
Step 5
end
Example:
Router(config-router)# end
Exits router configuration mode.

Configuration Examples for OSPF Incremental SPF

Example Incremental SPF

This example enables incremental SPF:

router ospf 1
ispf

Additional References

Related Topic Document Title
OSPF commands Cisco IOS IP Routing: OSPF Command Reference

Standards

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.

MIBs

None

MIBs Link
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs

RFCs

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.

Technical Assistance

Description Link
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. http://www.cisco.com/cisco/web/support/index.html

Feature Information for OSPF Incremental SPF

The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Table 1 Feature Information for OSPF Incremental SPF
Feature Name Releases Feature Information
OSPF Incremental SPF 12.0(24)S 12.3(2)T 12.2(18)S 12.2(27)SBC 12.2(33)SRA 12.2(33)XNE Cisco IOS XE 3.1.0 SG OSPF can be configured to use an incremental SPF algorithm for calculating the shortest path first routes. Incremental SPF is slightly more efficient than the full SPF algorithm, thereby allowing OSPF to converge faster on a new routing topology in reaction to a network event.
The following commands are introduced or modified in the feature documented in this module:
• ispf

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.

Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

©2011 Cisco Systems, Inc. All rights reserved.

PDF preview unavailable. Download the PDF instead.

iro-incre-spf AH Formatter V5.3 R1 (5,3,2011,0425) for Windows Antenna House PDF Output Library 2.6.0 (Windows)

Related Documents

Preview Cisco Catalyst 9300 Switches Software Configuration Guide: Cisco IOS XE Dublin 17.12.x
Learn how to configure Cisco Catalyst 9300 Switches with Cisco IOS XE Dublin 17.12.x. This guide covers initial setup, Web UI configuration, network settings, and best practices for enterprise network deployment.
Preview Cisco Unified CME, SRST, and IOS Software Version Compatibility Matrix
A comprehensive compatibility matrix detailing Cisco Unified CME, Unified SRST, and Cisco IOS Software version alignments, including T-Train, Cisco IOS XE, and Virtual CME versions, with links to specification documents.
Preview Cisco IOS RSVP-Previous Hop Overwrite Configuration Guide
Learn how to configure the RSVP-Previous Hop Overwrite feature in Cisco IOS to manage Resource Reservation Protocol (RSVP) PATH messages and ensure successful reservation establishment.
Preview IP Routing Configuration Guide for Cisco IOS XE Dublin 17.12.x on Catalyst 9500 Switches
A comprehensive guide to configuring IP routing on Cisco Catalyst 9500 Switches running Cisco IOS XE Dublin 17.12.x. This document covers various routing protocols and configurations.
Preview Cisco NCS 4200 Series Routers Software Upgrade Guide
Comprehensive guide detailing software and ROMMON upgrades for Cisco NCS 4200 Series routers, covering various Cisco IOS XE releases and RSP modules with step-by-step instructions.
Preview Cisco IOS Mobile Wireless Home Agent Configuration Guide Release 12.4T
This document provides a comprehensive configuration guide for the Cisco IOS Mobile Wireless Home Agent, detailing setup, features, and management for network professionals. It covers Release 12.4T and includes information on Cisco IOS and IOS XE software documentation.
Preview Cisco Catalyst 9800 Series Wireless Controller Release Notes for IOS XE Amsterdam 17.12.2
Release notes for Cisco Catalyst 9800 Series Wireless Controllers running Cisco IOS XE Amsterdam 17.12.2, detailing SMU and APSP updates, resolved caveats, and installation instructions.
Preview Cisco IOS Voice Troubleshooting and Monitoring Guide
A comprehensive guide to troubleshooting and monitoring Cisco IOS Voice features, covering call flows, debugging techniques, and command-line interface usage for network professionals.