clear isis database
Syntax
clear isis database <all> <entries> <instance instance-name> <logical-system (all | logical-system-name)> <purge>
Syntax (EX Series Switches and QFX Series)
clear isis database <all> <entries> <instance instance-name> <purge>
Description
Remove the entries from the IS-IS link-state database, which contains prefixes and topology information.
You can also use the purge
command with
any of the options to discard rather than delete the specified LSA
entries. This command is useful only for testing. Use it with care,
because it causes significant network disruption.
Options
all | Remove all entries from the IS-IS link-state database for all routing instances. |
entries | (Optional) Name of the database entry. |
instance instance-name | (Optional) Clear all entries for the specified routing instance. |
logical-system (all | logical-system-name) | (Optional) Perform this operation on all logical systems or on a particular logical system. |
purge | (Optional) Discard
all entries in the link-state advertisement database. All link-state
advertisements are set to |
Required Privilege Level
clear
Output Fields
See show isis database for an explanation of output fields.
Sample Output
clear isis database
The following sample output displays IS-IS link-state database
information before and after the clear isis database all
command is entered:
user@host> show isis database IS-IS level 1 link-state database: LSP ID Sequence Checksum Lifetime (secs) crater.00-00 0x12 0x84dd 1139 1 LSPs IS-IS level 2 link-state database: LSP ID Sequence Checksum Lifetime (secs) crater.00-00 0x19 0xe92c 1134 badlands.00-00 0x16 0x1454 985 carlsbad.00-00 0x33 0x220b 1015 ranier.00-00 0x2e 0xfc31 1007 1921.6800.5066.00-00 0x11 0x7313 566 1921.6800.5067.00-00 0x14 0xd9d4 939 6 LSPs user@host> clear isis database all user@host> show isis database IS-IS level 1 link-state database: LSP ID Sequence Checksum Lifetime (secs) IS-IS level 2 link-state database: LSP ID Sequence Checksum Lifetime (secs)
Release Information
Command introduced before Junos OS Release 7.4.
purge
option (and all options that are dependent
on the purge
option) hidden in Junos OS Release 13.3R2.