Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

database-protection

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
database-protection {
    ignore-count number;
    ignore-time seconds;
    maximum-lsa number;
    reset-time seconds;
    warning-only;
    warning-threshold percent;
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols (ospf | ospf3)],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3)],
[edit routing-instances routing-instance-name protocols (ospf | ospf3)],
[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-unicast | ipv6-multicast)]

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.

footer-navigation