Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

database-protection

Syntax

Hierarchy Level

Description

Configure the maximum number of link-state advertisements (LSAs) that are not generated by the router or switch in a given OSPF instance.

Default

By default, OSPF database protection is not enabled.

Options

ignore-count number—Configure the number of times the database can enter the ignore state. When the ignore count is exceeded, the database enters the isolate state.

  • Range: 1 through 32

  • Default: 5

ignore-time seconds—Configure the time the database must remain in the ignore state before it resumes regular operations (enters retry state).

  • Range: 30 through 3,600 seconds

  • Default: 300 seconds

maximum-lsa number—Configure the maximum number of LSAs whose advertising router ID is different from the local router ID in a given OSPF instance. This includes external LSAs as well as LSAs with any scope, such as the link, area, and autonomous system (AS). This value is mandatory.

  • Range: 1 through 1,000,000

  • Default: None

reset-time seconds—Configure the time period during which the database must operate without being in the ignore or isolate state before it is reset to a normal operating state.

  • Range: 60 through 86,400 seconds

  • Default: 600 seconds

warning-only—Specify that only a warning should be issued when the maximum LSA number is exceeded. If configured, no other action is taken against the database.

warning-threshold percent—Configure the percentage of the maximum number of LSAs to be exceeded before a warning message is logged.

  • Range: 30 through 100 percent

  • Default: 75 percent

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.2.