Chapter 22. clear Commands

clear ip ospf counters

clear ip ospf process-id counters

clear ip ospf process-id counters neighbor

clear ip ospf process-id counters neighbor int-name int-number

Syntax Description:

  • process-id—. The OSPF process ID. The range of values is from 1 to 4,294,967,295.

  • int-name—. Interface name.

  • int-number—. Interface number.

Purpose: To reset neighbor state transition counters.

Initial Cisco IOS Software Release: 11.1

Example: Viewing and Clearing OSPF Neighbor State Transition Counters

The show ip ospf neighbor detail command is used to display the neighbor state transition counter.

r4#show ip ospf neighbor detail Neighbor 2.2.2.2, interface address 172.16.2.1 In the area 0 via interface Ethernet1/0 Neighbor priority is 1, State is ...

Get Cisco OSPF Command and Configuration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.