C Commands
This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with C.
clear ip eigrp accounting
To clear the prefix accounting information for the Enhanced Interior Gateway Routing Protocol (EIGRP) processes, use the clear ip eigrp accounting command.
clear ip eigrp accounting [vrf {vrf-name | all | default | management}]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Base Services license.
Examples
This example shows how to clear the EIGRP accounting information:
switch# clear ip eigrp accounting
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
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
|
|
---|---|
6.0(2)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
|
|
---|---|
show ip eigrp interfaces |
Displays information about interfaces configured for EIGRP. |
show ip eigrp neighbors |
Displays the neighbors discovered by EIGRP. |
clear ip eigrp redistribution
To clear redistribution information for the Enhanced Interior Gateway Routing Protocol (EIGRP) , use the clear ip eigrp redistribution command.
clear ip eigrp redistribution [vrf {vrf-name | all | default | management}]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Base Services license.
Examples
This example shows how to clear redistribution information:
switch# clear ip eigrp redistribution
Related Commands
|
|
---|---|
feature eigrp |
Enables the EIGRP feature. |
clear ip eigrp traffic
To clear the Enhanced Interior Gateway Routing Protocol (EIGRP) traffic statistics, use the clear ip eigrp traffic command.
clear ip eigrp traffic [vrf {vrf-name | all | default | management}]
Syntax Description
Command Default
This command clears information for the default VRF if no VRF is specified.
Command Modes
Any command mode
Command History
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Base Services license.
Examples
This example shows how to clear the EIGRP traffic statistics:
switch# clear ip eigrp traffic