route-limit

Limits the number of routes managed by OSPF. The maximum limit supported by the platform is the default configuration defined under the router-ospf context.

Supported in the following platforms:

Syntax

route-limit [num-routes|reset-time|retry-count|retry-timeout]
route-limit [num-routes <DYNAMIC-ROUTE-LIMIT>|reset-time <1-86400>|retry-count <1-32>|
retry-timeout <1-3600>] {(num-routes|reset-time|retry-count|retry-timeout)}

Parameters

route-limit [num-routes <DYNAMIC-ROUTE-LIMIT>|reset-time <1-86400>|retry-count <1-32>|
retry-timeout <1-3600>] {(num-routes|reset-time|retry-count|retry-timeout)}
num-routes <DYNAMIC-ROUTE-LIMIT> Specifies the maximum number of non self-generated LSAs this process can receive
  • <DYNAMIC-ROUTE-LIMIT> – Specify the dynamic route limit.
reset-time <1-86400> Specifies the time, in seconds, after which the retry-count is reset to zero
  • <1-86400> – Specify a value from 1 - 86400 seconds. The default is 360 seconds.
retry-count <1-32> Specifies the maximum number of times adjacencies can be suppressed. Each time OSPF gets into an ignore state, a counter increments. If the counter exceeds the timeout configured by the retry-count parameter, OSPF stays in the same ignore state. Manual intervention is required to get OSPF out of the ignore state.
  • <1-32> – Specify a value from 1 - 32. The default is 5.
retry-timeout <1-3600> Specifies the retry time in seconds. During this time, OSPF remains in ignore state and all adjacencies are suppressed.
  • <1-3600> – Specify a value from 1 - 3600 seconds. The default is 60 seconds.

Examples

nx9500-6C8809(config-profile default-ap8533-router-ospf)#route-limit num-routes 10 
retry-count 5 retry-timeout 60 reset-time 10
nx9500-6C8809(config-profile default-ap8533-router-ospf)#show context
 router ospf
  ospf enable
  network 1.2.3.0/24 area 4.5.6.7
  area 0.0.0.4
  auto-cost reference-bandwidth 1
  default-information originate metric 1 metric-type 2
  redistribute static metric-type 1
  passive vlan1
  route-limit num-routes 10 retry-count 5 retry-timeout 60 reset-time 10
  ip default-gateway priority 1
nx9500-6C8809(config-profile default-ap8533-router-ospf)#

Related Commands

no (router-mode-config-command) Removes the limit on the number of routes managed by OSPF