RFC 4136 INFORMATIONAL OSPF · ROUTING

OSPF Refresh and Flooding Reduction in Stable Topologies

Lets OSPF routers stop re-flooding unchanged LSAs every 30 minutes by using DoNotAge LSAs more widely.

On rfc-editor.org ↗
PUBLISHED
July 2005
AUTHORS
P. Pillay-Esnault
STREAM
IETF
NORMAL REFRESH INTERVAL
1800 seconds
LSA EXPIRY
3600 seconds
DEFAULT FLOODING-INTERVAL
30 minutes (also the minimum)
DEFAULT STATE
Off
DOI
10.17487/RFC4136

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                  P. Pillay-Esnault
Request for Comments: 4136                                 Cisco Systems
Category: Informational                                        July 2005


        OSPF Refresh and Flooding Reduction in Stable Topologies

Status of This Memo

   This memo provides information for the Internet community.  It does
   not specify an Internet standard of any kind.  Distribution of this
   memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2005).

Abstract

   This document describes an extension to the OSPF protocol to reduce
   periodic flooding of Link State Advertisements (LSAs) in stable
   topologies.

   Current OSPF behavior requires that all LSAs, except DoNotAge LSAs,
   to be refreshed every 30 minutes.  This document proposes to
   generalize the use of DoNotAge LSAs in order to reduce protocol
   traffic in stable topologies.

1.  Introduction

   The explosive growth of IP-based networks has placed focus on the
   scalability of Interior Gateway Protocols such as OSPF.  Networks
   using OSPF are growing every day and will continue to expand to
   accommodate the demand for connections to the Internet or intranets.

   Internet Service Providers and users that have large networks have
   noticed non-negligible protocol traffic, even when their network
   topologies were stable.

   OSPF requires every LSA to be refreshed every 1800 seconds or else
   they will expire when they reach 3600 seconds [1].

   This document proposes to overcome the LSA expiration by generalizing
   the use of DoNotAge LSAs.  This technique will facilitate OSPF
   scaling by reducing OSPF traffic overhead in stable topologies.

2.  Changes in the Existing Implementation

   This enhancement relies on the implementation of the DoNotAge bit and
   the Indication-LSA.  The details of the implementation of the
   DoNotAge bit and the Indication-LSA are specified in "Extending OSPF
   to Support Demand Circuits" [2].

   Flooding-reduction-capable routers will continue to send hellos to
   their neighbors and keep aging their self-originated LSAs in their
   database.  However, these routers will flood their self-originated
   LSAs with the DoNotAge bit set.  Thus, self-originated LSAs do not
   have to be re-flooded every 30 minutes and the re-flooding interval
   can be extended to the configured forced-flooding interval.  As in
   normal OSPF operation, any change in the contents of the LSA will
   cause a reoriginated LSA to be flooded with the DoNotAge bit set.
   This will reduce protocol traffic overhead while allowing changes to
   be flooded immediately.

   Flooding-reduction-capable routers will flood received non-self-
   originated LSAs with the DoNotAge bit set on all normal or flooding-
   reduction-only interfaces within the LSA's flooding scope.  If an
   interface is configured as both flooding-reduction-capable and
   Demand-Circuit, then the flooding is done if and only if the contents
   of the LSA have changed.  This allows LSA flooding for unchanged LSAs
   to be periodically forced by the originating router.

3.  Backward Compatibility

   Routers supporting the demand circuit extensions [2] will be able to
   correctly process DoNotAge LSAs flooded by routers supporting the
   flooding reduction capability described herein.  These routers will
   also suppress flooding DoNotAge LSAs on interfaces configured as
   demand circuits.  However, they will also flood DoNotAge LSAs on
   interfaces that are not configured as demand circuits.

   When there are routers in the OSPF routing domain, stub area, or NSSA
   area, that do not support the demand circuit extensions [2] then the
   use of these flooding reduction capabilities will be subject to the
   demand circuit interoperability constraints articulated in section
   2.5 of "Extending OSPF to Support Demand Circuits" [2].  This implies
   that detection of an LSA, with the DC bit clear, will result in the
   re-origination of self-originated DoNotAge LSAs with the DoNotAge
   clear and purging of non-self-originated DoNotAge LSAs.

4.  Security Considerations

   This memo does not create any new security issues for the OSPF
   protocol.  Security considerations for the base OSPF protocol are
   covered in [1].

5.  Acknowledgments

   The author would like to thank Jean-Michel Esnault, Barry Friedman,
   Thomas Kramer, Acee Lindem, Peter Psenak, Henk Smit, and Alex Zinin
   for their helpful comments on this work.

6.  Normative References

   [1] Moy, J., "OSPF Version 2", STD 54, RFC 2328, April 1998.

   [2] Moy, J., "Extending OSPF to Support Demand Circuits", RFC 1793,
       April 1995.

A.  Configurable Parameters

   This memo defines new configuration parameters for the flooding
   reduction feature.  The feature must be enabled by configuration on a
   router and is, by default, off.

    flooding-reduction <all | list of interfaces> Indicates that the
       router has the flooding reduction feature enabled.  By default,
       this parameter applies to all interfaces running under the OSPF
       instance to which it applies.  The feature can be enabled on a
       subset of explicitly specified interfaces.

    flooding-interval <n minutes> Indicates the interval in minutes for
       the periodic flooding of self-originated LSAs.  By default, this
       value is 30 minutes as per [1].  The minimum value is also 30
       minutes.  A value of infinity will prevent re-flooding of self-
       originated LSAs that have not changed.

Author's Address

   Padma Pillay-Esnault
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134

   EMail: ppe@cisco.com

Full Copyright Statement

   Copyright (C) The Internet Society (2005).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at ietf-
   ipr@ietf.org.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.

AI ELI5

On this page
PROBLEMOSPF requires every LSA to be refreshed every 1800 seconds or it expires at 3600 seconds, so even stable networks carry steady protocol traffic.
MECHANISMFlooding-reduction-capable routers flood their self-originated LSAs with the DoNotAge bit set, so the re-flooding interval can stretch to a configured forced-flooding interval while real changes are still flooded at once.
WHY IT MATTERSProtocol overhead drops in stable topologies. The feature is off by default and builds on the demand circuit extensions.

§1The Refresh Problem

Large OSPF networks see non-negligible protocol traffic even when their topology is stable. OSPF requires every Link State Advertisement (LSA) to be refreshed every 1800 seconds, or it expires on reaching 3600 seconds. Only DoNotAge LSAs are exempt.

This memo proposes generalizing the use of DoNotAge LSAs so that the expiry no longer forces periodic re-flooding.

Routers keep repeating old news on a timer, even in a quiet network. This idea stops the repeats.

§2How Flooding Reduction Works

The enhancement relies on the DoNotAge bit and the Indication-LSA specified in RFC 1793, the demand circuit extensions. Capable routers keep sending hellos and keep aging their own LSAs in their database, but they flood self-originated LSAs with the DoNotAge bit set. These LSAs need not be re-flooded every 30 minutes, and the interval can stretch to the configured forced-flooding interval.

A change in an LSA's contents still causes a reoriginated LSA to be flooded immediately with the bit set. Received LSAs from other routers that carry the DoNotAge bit are flooded on normal or flooding-reduction-only interfaces within the LSA's flooding scope. On an interface that is both flooding-reduction-capable and Demand-Circuit, flooding happens only if the contents changed.

Routers still say hello to their neighbours, but they only repeat the news on a slower schedule, and they announce changes right away.

§3Backward Compatibility

Routers that support the demand circuit extensions can process DoNotAge LSAs from flooding-reduction routers. They suppress flooding of DoNotAge LSAs on demand circuit interfaces but flood them on other interfaces.

If some routers in the routing domain, stub area or NSSA area lack those extensions, the feature is subject to the demand circuit interoperability constraints in section 2.5 of RFC 1793. Detecting an LSA with the DC bit clear causes self-originated DoNotAge LSAs to be reoriginated with the bit clear, and non-self-originated DoNotAge LSAs to be purged.

Older routers can still understand the quiet routers, and if one cannot, everyone goes back to the old chatty way.

§4Configuration and Security

The feature must be enabled by configuration and is off by default. flooding-reduction turns it on for all interfaces or a listed subset. flooding-interval sets the minutes between periodic floods of self-originated LSAs: the default and minimum are both 30 minutes, and a value of infinity prevents re-flooding of unchanged LSAs.

The memo says it creates no new security issues for OSPF. Security for base OSPF is covered in RFC 2328.

There is a switch, off by default, and a timer that says how rarely to repeat old news.

§5References