- 458 -
Default Setting
None
Command Mode
Privileged Exec

8.3.2.27 clear ip ospf counters

Use this command to reset global and interface statistics
Syntax
clear ip ospf counters
Default Setting
None
Command Mode
Privileged Exec

8.3.2.28 clear ip ospf neighbor

Use this command to drop the adja cency with all OS PF neigh bors. On each n ei ghbor’s i nterf ace, sen d a
one-way hello.Adjacencies may then be re-establi shed. To drop all adjace ncies with a spe cific router ID,
specify the neighbor’s Router ID using the optional parameter [neighbor-id].
Syntax
clear ip ospf neighbor [neighbor-id]
Default Setting
None
Command Mode
Privileged Exec

8.3.2.29 clear ip ospf neighbor interface

To drop adjacency with all neighbors on a specific interface, use the optional parameter [slot/port]. To
drop adjacency with a specific router ID on a specifi c interface, use the optional para meter [neighb or-id].