You are on page 1of 3

IS-IS Clear Commands

eos.arista.com/eos-4-21-3f/is-is-clear-commands

By Arnab Das

Contents [hide]

Description
Platform compatibility
Configuration
Show Commands
Troubleshooting

Description
EOS version 4.21.3F provides additional clear commands extending what is already
available in EOS as described by the below TOI:

IS-IS Clear Command: clear isis neighbor

The ‘clear isis instance’ command can be used to reset the ISIS instance that is running. All
ISIS instance and interface states will be cleared and re-initialized from the configuration so
that

ISIS rediscovers neighbors and reconverges the different instances in the ISIS routing
tables.

The ‘clear isis counters’ command can be used to reset the packet counters to 0 on all
interfaces or on a given interface.

The ‘clear isis database’ command can be used to force LSPs in the LSP database to expire.
This can be done for all LSPs, LSPs in a given level or a specific LSP with a given LSP-ID.

Platform compatibility
Platform independent.

Configuration
The Command ‘clear isis instance’ will clear the ISIS instance. On running the command the
name of the instance which was cleared will be shown.

Clear the ISIS instance.

1/3
Arista(config)#clear isis instance
IS-IS instance 1 cleared.
Arista(config)#

The Command ‘clear isis counters’ will clear ISIS packet counters. On running the command
the number of interfaces per instance on which counters were cleared will be shown.

Clear packet counters on all interfaces.

Arista(config)#clear isis counters


Counters cleared on 1 interfaces of instance 1.
Arista(config)#

Clear packet counters on interface et2.

Arista(config)#clear isis counters interface et2


Counters cleared on 1 interfaces of instance 1.
Arista(config)#

The Command ‘clear isis database’ will clear ISIS LSPs. On running the command the
number of LSPs cleared will be shown.

Clear all LSPs from the LSP Database

Arista(config)#clear isis database all


3 LSPs cleared on instance 1.
Arista(config)#

Clear all LSPs from the Level 1 LSP Database

Arista(config)#clear isis database level-1


3 LSPs cleared on instance 1.
Arista(config)#

Clear all LSPs with the LSP ID 1111.1111.1002.00-00

Arista(config)#clear isis database 1111.1111.1002.00-00


1 LSPs cleared on instance 1.
Arista(config)#
Arista#clear isis database ?
LSPID LSPID in HHHH.HHHH.HHHH.HH-HH or hostname.HH-HH format
all All
level-1 Level 1 only
level-2 Level 2 only

Show Commands
The show commands 'show isis summary’, 'show isis counters' and ‘show isis database’ can
be used to check the state of the ISIS instance, counters and LSPs respectively.

Troubleshooting

2/3
“Failed to clear on instance” : The clear command did not clear the targeted state.

Arista#clear isis database level-2

! Failed to clear on instance 65


Arista#

"Clearing may not have been successful on instance” : The clear command did not complete
in time. The clearing of the targeted state (if any) could not be determined.

Arista#clear isis database level-2

waiting for Clear on instance 65 .........................................timed


out
! Clearing may not have been successful on instance 65
Arista#

In the above cases, the command should be ran again to ensure clearing.

3/3

You might also like