OSPF Resource Limiting

You can limit the totalnumber of LSAs in the database as a whole and the max number of redistributed LSAs and the max percentage of CPU that the router will consume before allowing other processes to interrupt it. These are documented below.

router ospf 1
 max-lsa 5000
 redistribution maximum-prefix 500
 process-min-time percent 20

Verification

R4# sh ip ospf
 Routing Process "ospf 1" with ID 150.1.4.4
 Start time: 00:00:39.604, Time elapsed: 06:52:12.996
 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 5000
    Current number of non self-generated LSA 66
    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
 Redistributing External Routes from,
    rip, includes subnets in redistribution
    Maximum limit of redistributed prefixes 500
    Threshold for warning message 75%
 Originating router-LSAs with maximum metric
    Condition: always, State: active
    Advertise stub links with maximum metric in router-LSAs
 Initial SPF schedule delay 100 msecs
 Minimum hold time between two consecutive SPFs 1000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Initial LSA throttle delay 10 msecs
 Minimum hold time for LSA throttle 4000 msecs
 Maximum wait time for LSA throttle 6000 msecs
 Minimum LSA arrival 2000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 50 msecs
 Retransmission pacing timer 75 msecs
 Number of external LSA 15. Checksum Sum 0x096FEE
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 2. 2 normal 0 stub 0 nssa
 Number of areas transit capable is 0
 External flood list length 0
 IETF NSF helper support enabled
 Cisco NSF helper support enabled
 -- output omitted --

http://www.cisco.com/en/US/customer/docs/ios/iproute/configuration/guide/irp_ospf_lim_routes_ps6350_TSD_Products_Configuration_Guide_Chapter.html

Leave a Reply

You must be logged in to post a comment.