clear ip eigrp neighbors

To remove and reestablish the Enhanced Interior Gateway Routing Protocol (EIGRP) neighbor entries from the appropriate table, use the clear ip eigrp neighbors command.

clear ip eigrp neighbors [ * | ip-address | ethernet slot / port | loopback if_number | port-channel number ] [ soft ] [ vrf { vrf-name | all | default | management }]

Syntax Description

*
(Optional) Clears all neighbors.
ip-address
(Optional) Address of the neighbor.
ethernet slot/port
(Optional) Clears the Ethernet interface from the neighbor table. The slot number is from 1 to 255, and the port number is from 1 to 128.
loopback if_number
(Optional) Clears the loopback interface from the neighbor table. The loopback interface number is from 0 to 1023.
port-channel number
(Optional) Clears the EtherChannel interface and EtherChannel number from the neighbor table. The range is from 1 to 4096.
soft
(Optional) Specifies soft reset for the neighbors.
vrf vrf-name
(Optional) Specifies a virtual routing and forwarding (VRF) instance. The VRF name is an alphanumeric string of up to 32 characters.
all
(Optional) Clears the EIGRP neighbor information from all VRF instances.
default
(Optional) Clears the EIGRP neighbor information from the default VRF.
management
(Optional) Clears the EIGRP neighbor information from the management VRF.

Command Default

When no autonomous system number, interface, or VRF instance is specified, all EIGRP neighbor entries are cleared from the table.

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear all EIGRP entries for neighbors on Ethernet interface 2/1:

switch# clear ip eigrp vrf * neighbors ethernet 2/1
 

Related Commands

Command
Description
show ip eigrp interfaces
Displays information about interfaces configured for EIGRP.
show ip eigrp neighbors
Displays the neighbors discovered by EIGRP.