- clear isis database
- <entries>
- <instance instance-name>
- <logical-system (all | logical-system-name)>
- <purge>
Command introduced before JUNOS Release 7.4.
purge option introduced in JUNOS Release 9.0.
Remove the entries from the Intermediate System-to-Intermediate System (IS-IS) link-state database, which contains prefixes and topology information. You can also use purge with any of the options to initiate a network-wide purge of link-state PDUs (LSPs) rather than the local deletion of entries from the IS-IS link-state database.
![]() |
Caution: In a production network, the purge command option may cause short-term network-wide traffic disruptions. Use with caution! |
none — Remove all entries from the IS-IS link-state database for all routing instances on all logical systems.
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 IS-IS link-state database.
clear
See show isis database for an explanation of output fields.
The following sample output displays IS-IS link-state database information before and after the clear isis database 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
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)