OSPF Link-State Database Overload Protection

Similar documents
OSPF Per-Interface Link-Local Signaling

NextPort Dual-Filter G.168 Echo Canceller White Paper

Channel Deployment Issues for 2.4-GHz WLANs

OSPF Inbound Filtering Using Route Maps with

Session Initiation Protocol Name Dialing Feature Module

Cisco Aironet 8-dBi Omnidirectional Antenna (AIR-ANT2480V-N)

Installing the Cisco ONS Fan-Tray Assembly

Cisco Aironet Four-Element, MIMO, Dual-Band Ceiling Mount Omnidirectional Antenna (AIR-ANT2524V4C-R)

Cisco Aironet Four-Element Dual-Band Omnidirectional Antenna (AIR-ANT2451V-R)

OSPF Mechanism to Exclude Connected IP Prefixes from LSA Advertisements

Cisco Aironet Dual Band MIMO Low Profile Ceiling Mount Antenna (AIR-ANT2451NV-R)

Cisco Aironet 2.4-GHz MIMO 6-dBi Patch Antenna (AIR-ANT2460NP-R)

OSPF Sham-Link MIB Support

IP Routing: OSPF Configuration Guide, Cisco IOS Release 12.2SX

OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3

OSPF Enhanced Traffic Statistics

IP Routing: OSPF Configuration Guide, Cisco IOS Release 12.4

C Commands. Send comments to

OSPF Nonstop Routing. Finding Feature Information. Prerequisites for OSPF NSR

Configuring OSPF. Information About OSPF CHAPTER

Cisco IOS IP Routing: OSPF Command Reference

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)

Cisco Video Analytics User Guide

OSPF. OSPF Areas. BSCI Module Cisco Systems, Inc. All rights reserved. Cisco Public. Review of OSPF area characteristics:

Guide to OSPF Application on the CSS 11000

Test Report R79188 Rev 2. Radio Test Report R Japanese Radio Law - Item 19 of Article 12 Category XW (Bands W52 and W53)

Configuring OSPF. The Cisco OSPF Implementation

Declarations of Conformity and Regulatory Information for Cisco Access Products with a/b/g and b/g Radios

Configuring the maximum number of external LSAs in LSDB 27 Configuring OSPF exit overflow interval 28 Enabling compatibility with RFC Logging

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 2

CCNA Routing and Switching Study Guide Chapters 5 & 19: Multi-Area OSPF

Radio Test Report R79187

OSPF. Routing Protocols and Concepts Chapter 11

OSPF Domain / OSPF Area. OSPF Advanced Topics. OSPF Domain / OSPF Area. Agenda

Table of Contents. OSPF Configuration 1

Introduction to Local and Wide Area Networks

OSPF. Routing Protocols and Concepts Chapter 11. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved. Cisco Public

material. For more information on how to get additional questions, please see a.

ITE PC v4.0. Chapter Cisco Systems, Inc. All rights reserved. Cisco Public

OSPF Fundamentals. Agenda. OSPF Principles. L41 - OSPF Fundamentals. Open Shortest Path First Routing Protocol Internet s Second IGP

OSPF - Open Shortest Path First. OSPF Fundamentals. Agenda. OSPF Topology Database

Question No: 2 In an OSPF Hello packet, which of the following fields must match for all neighbor routers on the segment? Choose three answers.

Introduction to OSPF. ISP Workshops. Last updated 11 November 2013

Rev a. Single-Area OSPF. c cnac o okbook.com

Junos Intermediate Routing

Link State Routing. In particular OSPF. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. March 4, 2008

Sybex ICND Chapter 4 and 18: OSPF. Instructor & Todd Lammle

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX


OSPF for IPv6. ISP Workshops

Link State Routing. In particular OSPF. Karst Koymans. Informatics Institute University of Amsterdam. (version 16.3, 2017/03/09 11:25:31)

Link-state protocols and Open Shortest Path First (OSPF)

Network Working Group Request for Comments: Category: Standards Track A. Zinin Alcatel-Lucent R. Coltun Acoustra Productions July 2008

Link State Routing. In particular OSPF. Karst Koymans. Informatics Institute University of Amsterdam. (version 17.4, 2017/11/30 12:33:57)

XLR PRO Radio Frequency (RF) Modem. Getting Started Guide

OSPF Version 3 for IPv6

ISP Operations Troubleshooting OSPF for IPv4 and IPv6

Advanced PHY Layer Technologies for High-Speed Data Over Cable

Zebra MCR Software 1.0 Manual Yin Wang Networking Laboratory of Helsinki University of Technology

DataCAD Softlock License Activation and Management

Author Tutorial for OPTE Editorial Manager System

Downstream Interface Configuration

DataCAD 18 Softlock. Universal Installer. Installation. Evaluation

Lab Topology R16 R12 R15. Lo R /32 R /32 R /32 R /32 R / /

Submittal Exchange Design Team User Guide

Celtx Studios Owner's Manual January 2011

Link State Routing. Stefano Vissicchio UCL Computer Science CS 3035/GZ01

make the most of our VISIT SOUTHEND .CO.UK BRAND NEW WEBSITE PROMOTE YOUR BUSINESS, OFFERS & EVENTS FOR FREE

LAB15: OSPF IPv6. OSPF: Not So Stubby Area. Disclaimer

Configuring the Global Navigation Satellite System

Live Agent for Administrators

Go Daddy Online Photo Filer

RAZER CENTRAL ONLINE MASTER GUIDE

Live Agent for Administrators

Live Agent for Administrators

UCP-Config Program Version: 3.28 HG A

Kaseya 2. User Guide. Version 7.0

accurate as possible, the enclosed material is presented on an as is basis. Neither the authors nor

Copyright 2009 Aladdin Knowledge Systems Ltd. All rights reserved. All trade and service marks, logos and trade names(collectively, the "Marks")

Global Navigation Satellite System for IE 5000

Accessing e-books with your e-reader

Projects Connector User Guide

PaperCut Cloud Services: FAQs and Troubleshooting. Channel Availability Release: 18.3

Program and System Information Protocol Configuration for System Releases 2.5, 2.7, 3.5, 3.7, 4.0, 4.2, and CV 3.4

Ansible Tower Quick Setup Guide

Enhanced Push-to-Talk Application for iphone

Configuring the Global Navigation Satellite System

IE11, Edge (current version), Chrome (current version), Firefox (current version)

DataCar Select Application launcher via DataCar Portal

Operation Guide Internet Radio

TRBOnet Mobile. User Guide. for ios. Version 1.8. Internet. US Office Neocom Software Jog Road, Suite 202 Delray Beach, FL 33446, USA

Configuring the Global Navigation Satellite System

Configuring the Global Navigation Satellite System

Field Device Manager Express

Bridgemate App. Information for bridge clubs and tournament directors. Version 2. Bridge Systems BV

PaperCut TouchNet upay Quick Start Guide

COALESCE V2 CENTRAL COALESCE CENTRAL USER GUIDE WC-COA 24/7 TECHNICAL SUPPORT AT OR VISIT BLACKBOX.COM. Display Name.

Table of Contents. Vizit s Carousel Menu Gallery Play Favorite Remove Rotate Fill Screen Friends Block Lock Screen Settings Reply Share

Using a DFSI Gateway on IPICS

CS 457 Lecture 16 Routing Continued. Spring 2010

Transcription:

OSPF Link-State Database Overload Protection The OSPF Link-State Database Overload Protection feature allows you to limit the number of nonself-generated link-state advertisements (LSAs) for a given Open Shortest Path First (OSPF) process. Excessive LSAs generated by other routers in the OSPF domain can substantially drain the CPU and memory resources of the router. History for the OSPF Link-State Database Overload Protection Feature Release 12.0(27)S 12.3(7)T 12.2(25)S 12.2(18)SXE 12.2(27)SBC Modification This feature was introduced. This feature was integrated into Cisco IOS Release 12.3(7)T. This feature was integrated into Cisco IOS Release 12.2(25)S. This feature was integrated into Cisco IOS Release 12.2(18)SXE. This feature was integrated into Cisco IOS Release 12.2(27)SBC. 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 Prerequisites for OSPF Link-State Database Overload Protection, page 2 Information About OSPF Link-State Database Overload Protection, page 2 How to Configure the OSPF Link-State Database Overload Protection Feature, page 2 Configuration Examples for the OSPF Link-State Database Overload Protection Feature, page 5 Additional References, page 6 Command Reference, page 7 Glossary, page 10 Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA 2003 2005 Cisco Systems, Inc. All rights reserved.

Prerequisites for OSPF Link-State Database Overload Protection OSPF Link-State Database Overload Protection Prerequisites for OSPF Link-State Database Overload Protection It is presumed you have OSPF running on your network. Information About OSPF Link-State Database Overload Protection Before you configure the OSPF Link-State Database Overload Protection feature, you should understand the concepts described in the following sections: Benefits of Using OSPF Link-State Database Overload Protection, page 2 How OSPF Link-State Database Overload Protection Works, page 2 Benefits of Using OSPF Link-State Database Overload Protection The OSPF Link-State Database Overload Protection feature provides a mechanism at the OSPF level to limit the number of nonself-generated LSAs for a given OSPF process. When other routers in the network have been misconfigured, they may generate a high volume of LSAs, for instance, to redistribute large numbers of prefixes. This protection mechanism prevents routers from receiving a large number of LSAs and therefore experiencing CPU and memory shortages. How OSPF Link-State Database Overload Protection Works When the OSPF Link-State Database Overload Protection feature is enabled, the router keeps a count of the number of received (nonself-generated) LSAs it has received. When the configured threshold number of LSAs is reached, an error message is logged. When the configured maximum number of LSAs is exceeded, the router will send a notification. If the count of received LSAs is still higher than the configured maximum after one minute, the OSPF process takes down all adjacencies and clears the OSPF database. In this ignore state, all OSPF packets received on any interface that belongs to this OSPF process are ignored and no OSPF packets are generated on any of these interfaces. The OSPF process remains in the ignore state for the time configured by the ignore-time keyword of the max-lsa command. Each time the OSPF process gets into an ignore state a counter is incremented. If this counter exceeds the number of minutes configured by the ignore-count keyword, the OSPF process stays permanently in the same ignore state and manual intervention is required to get the OSPF process out of the ignore state. The ignore state counter is reset to 0 when the OSPF process remains in the normal state of operation for the amount of time that was specified by the reset-time keyword. If the warning-only keyword of the max-lsa command has been configured, the OSPF process will send only a warning that the LSA maximum has been exceeded. How to Configure the OSPF Link-State Database Overload Protection Feature This section contains the following procedure: Limiting the Number of Self-Generating LSAs for an OSPF Process, page 3 (required) 2

OSPF Link-State Database Overload Protection How to Configure the OSPF Link-State Database Overload Protection Feature Limiting the Number of Self-Generating LSAs for an OSPF Process SUMMARY STEPS DETAILED STEPS This task describes how to configure and verify a limit on the number of nonself-generating LSAs for an OSPF process. 1. enable 2. configure terminal 3. router ospf process-id 4. router-id ip-address 5. log-adjacency-changes [detail] 6. max-lsa maximum-number [threshold-percentage] [warning-only] [ignore-time minutes] [ignore-count count-number] [reset-time minutes] 7. network ip-address wildcard-mask area area-id Step 1 Step 2 Command or Action enable Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Router# configure terminal router ospf process-id Router(config)# router ospf 1 router-id ip-address Enables OSPF routing. The process-id argument identifies the OSPF process. Specifies a fixed router ID for an OSPF process. Step 5 Router(config-router)# router-id 10.0.0.1 log-adjacency-changes [detail] Router(config-router)# log-adjacency-changes Configures the router to send a syslog message when an OSPF neighbor goes up or down. 3

How to Configure the OSPF Link-State Database Overload Protection Feature OSPF Link-State Database Overload Protection Step 6 Command or Action max-lsa maximum-number [threshold-percentage] [warning-only] [ignore-time minutes] [ignore-count count-number] [reset-time minutes] Purpose Limits the number of nonself-generated LSAs an OSPF routing process can keep in the OSPF link-state database (LSDB). Step 7 Router(config-router)# max-lsa 12000 network ip-address wildcard-mask area area-id Router(config-router)# network 209.165.201.1 255.255.255.255 area 0 Defines the interfaces on which OSPF runs and defines the area ID for those interfaces. Verifying the Number of Nonself-Generated LSAs on a Router The show ip ospf command is entered with the database-summary keyword to verify the actual number of nonself-generated LSAs on a router. This command can be used at any given point in time to display lists of information related to the OSPF database for a specific router. Router# show ip ospf 2000 database database-summary OSPF Router with ID (192.168.1.3) (Process ID 2000) Area 0 database summary LSA Type Count Delete Maxage Router 5 0 0 Network 2 0 0 Summary Net 8 2 2 Summary ASBR 0 0 0 Type-7 Ext 0 0 0 Prefixes redistributed in Type-7 0 Opaque Link 0 0 0 Opaque Area 0 0 0 Subtotal 15 2 2 Process 2000 database summary LSA Type Count Delete Maxage Router 5 0 0 Network 2 0 0 Summary Net 8 2 2 Summary ASBR 0 0 0 Type-7 Ext 0 0 0 Opaque Link 0 0 0 Opaque Area 0 0 0 Type-5 Ext 4 0 0 Prefixes redistributed in Type-5 0 Opaque AS 0 0 0 Non-self 16 Total 19 2 2 4

OSPF Link-State Database Overload Protection Configuration Examples for the OSPF Link-State Database Overload Protection Feature Configuration Examples for the OSPF Link-State Database Overload Protection Feature This section contains the following example: Setting a Limit for LSA Generation: Example, page 5 Setting a Limit for LSA Generation: Example In the following example, the router is configured to not accept any more nonself-generated LSAs once a maximum of 14,000 has been exceeded: Router(config)# router ospf 1 Router(config-router)# router-id 192.168.0.1 Router(config-router)# log-adjacency-changes Router(config-router)# max-lsa 14000 Router(config-router)# area 33 nssa Router(config-router)# network 192.168.0.1 0.0.0.0 area 1 Router(config-router)# network 192.168.5.1 0.0.0.0 area 1 Router(config-router)# network 192.168.2.1 0.0.0.0 area 0 In the following example, the show ip ospf command has been entered to confirm the configuration: Router# show ip ospf 1 Routing Process "ospf 1" with ID 192.168.0.1 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Maximum number of non self-generated LSA allowed 14000 Threshold for warning message 75% Ignore-time 5 minutes, reset-time 10 minutes Ignore-count allowed 5, current ignore-count 0 It is an area border and autonomous system boundary router In the following example, the following output appears when the show ip ospf command has been entered during the time when the router is in the ignore state: Router# show ip ospf 1 Routing Process "ospf 1" with ID 192.168.0.1 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Maximum number of non self-generated LSA allowed 14000 Threshold for warning message 75% Ignore-time 5 minutes, reset-time 10 minutes Ignore-count allowed 5, current ignore-count 1 Ignoring all neighbors due to max-lsa limit, time remaining: 00:04:52 It is an area border and autonomous system boundary router The following output appears when the show ip ospf command has been entered after the router left the ignore state: Router# show ip ospf 1 Routing Process "ospf 1" with ID 192.168.0.1 Supports only single TOS(TOS0) routes 5

Additional References OSPF Link-State Database Overload Protection Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Maximum number of non self-generated LSA allowed 14000 Threshold for warning message 75% Ignore-time 5 minutes, reset-time 10 minutes Ignore-count allowed 5, current ignore-count 1 - time remaining: 00:09:51 It is an area border and autonomous system boundary router The following output appears when the show ip ospf command has been entered for a router that is permanently in the ignore state: Router# show ip ospf 1 Routing Process "ospf 1" with ID 192.168.0.1 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Maximum number of non self-generated LSA allowed 14000 Threshold for warning message 75% Ignore-time 5 minutes, reset-time 10 minutes Ignore-count allowed 5, current ignore-count 6 Permanently ignoring all neighbors due to max-lsa limit It is an area border and autonomous system boundary router Additional References The following sections provide references related to the OSPF Link-State Database Overload Protection feature. Related Documents Related Topic Document Title Configuring OSPF Cisco IOS IP Routing Configuration Guide Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3T Standards Standards Title None 6

OSPF Link-State Database Overload Protection Command Reference MIBs MIBs None MIBs Link To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs RFCs Title None Technical Assistance Description The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content. Link http://www.cisco.com/techsupport Command Reference This section documents onemodified command only. max-lsa 7

max-lsa OSPF Link-State Database Overload Protection max-lsa To limit the number of nonself-generated link-state advertisements (LSAs) that an Open Shortest Path First (OSPF) routing process can keep in the OSPF link-state database (LSDB), use the max-lsa command in router configuration mode. To remove the limit of non self-generated LSAs that an OSPF routing process can keep in the OSPF LSDB, use the no form of this command. max-lsa maximum-number [threshold-percentage] [warning-only] [ignore-time minutes] [ignore-count count-number] [reset-time minutes] no max-lsa maximum-number [threshold-percentage] [warning-only] [ignore-time minutes] [ignore-count count-number] [reset-time minutes] Syntax Description maximum-number threshold-percentage warning-only ignore-time minutes ignore-count count-number reset-time minutes Maximum number of nonself-generated LSAs the OSPF process can keep in the OSPF LSBD. (Optional) The percentage of the maximum LSA number, as specified by the maximum-number argument, at which a warning message is logged. The default is 75 percent. (Optional) Specifies that only a warning message is sent when the maximum limit for LSAs is exceeded. Disabled by default. (Optional) Specifies the time, in minutes, to ignore all neighbors after the maximum limit of LSAs has been exceeded. The default is 5 minutes. (Optional) Specifies the number of times the OSPF process can consecutively be placed into the ignore state. The default is 5 times. (Optional) Specifies the time, in minutes, after which the ignore count is reset to zero. The default is 10 minutes. Defaults The number of nonself-generated LSAs that an OSPF routing process can keep in the OSPF LSDB is not limited. threshold-percentage: 75 percent warning-only warning message: disabled ignore-time minutes: 5 minutes ignore-count count-number: 5 times reset-time minutes: 10 minutes Command Modes Router configuration Command History Release 12.0(27)S 12.3(7)T 12.2(25)S 12.2(18)SXE 12.2(27)SBC Modification This command was introduced. This command was integrated into Cisco IOS Release 12.3(7)T. This command was integrated into Cisco IOS Release 12.2(25)S. This command was integrated into Cisco IOS Release 12.2(18)SXE. This command was integrated into Cisco IOS Release 12.2(27)SBC. 8

OSPF Link-State Database Overload Protection max-lsa Usage Guidelines To prevent the OSPF process from endlessly changing from the normal state of operation to the ignore state as a result of the LSA count exceeding the maximum configured number immediately after it returns from the ignore state to the normal state of operation, the OSPF process keeps a counter on how many times the process went into the ignore state. This counter is called the ignore count. If the ignore count exceeds the maximum number of LSAs that is specified by the ignore-count keyword and counter-number argument, the OSPF process remains in the ignore state permanently. To return the OSPF process to the state of normal operation, enter the clear ip ospf command. If the router is placed into a permanent ignore state, we recommend that you identify and correct the cause of the problem involving the router that is generating the LSAs, or, if possible, increase the limit that has been configured by the max-lsa command before you try to bring the router back into normal operation. If the router that has generated large numbers of LSAs is not reachable, these LSAs cannot be removed from the OSPF area and domain. As a result, any other router leaving the ignore state and returning to normal operation may reach the ignore state again. We recommend that you take one of the following actions in order to bring the router back into the network: Temporarily increase the LSA limit to account for the stale LSAs. Wait until the stale LSAs are removed as a result of reaching their maximum age. Make sure that the router that has generated the large number of LSAs is connected to the network and is no longer generating large numbers of LSAs. When the warning-only keyword is used, the OSPF process never enters the ignore state. When the LSA count exceeds the maximum limit that is specified by the maximum-number argument, only an error message is logged and the OSPF process continues in its normal operation. When the max-lsa command is entered for the first time or when any of the parameters of the command are changed, the OSPF process undergoes a soft-reset procedure. Examples The following example sets a limit of 12,000 LSAs that can be received before the OSPF process enters the ignore state: Router(config)# router ospf 100 Router(config-router)# router-id 209.165.201.0 Router(config-router)# log-adjacency-changes Router(config-router)# max-lsa 12000 Router(config-router)# network 209.165.201.1 255.255.255.255 In the following example, an OSPF process has remained in the ignore state permanently. When the clear ip ospf command is entered the OSPF process returns to the state of normal operation and clears redistribution based on the OSPF routing process ID. Router(config-router)# clear ip ospf 100 process Related Commands Command Description clear ip ospf Clears redistribution based on the OSPF routing process ID. 9

Glossary OSPF Link-State Database Overload Protection Glossary LSDB link-state database. Note Refer to Internetworking Terms and Acronyms for terms not included in this glossary. CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iphone, IP/TV, iq Expertise, the iq logo, iq Net Readiness Scorecard, iquick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers, Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or Website 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. (0711R) 2003 2005 Cisco Systems, Inc. All rights reserved. 10