clear ip ospf counters
Use this command to reset global and interface statistics.
Format
clear ip ospf counters
Mode
Privileged EXEC
clear ip ospf neighbor
Use this command to drop the adjacency with all OSPF neighbors. On each neighbor's
interface, send a one-way hello. Adjacencies may then be re-established. To drop all
adjacencies with a specific router ID, specify the neighbor's Router ID using the optional
parameter [neighbor-id].
Format
clear ip ospf neighbor [neighbor-id]
Mode
Privileged EXEC
clear ip ospf neighbor interface
To drop adjacency with all neighbors on a specific interface, use the optional parameter
[unit/slot/port]. To drop adjacency with a specific router ID on a specific interface, use the
optional parameter [neighbor-id].
Format
clear ip ospf neighbor interface [unit/slot/port] [neighbor-id]
Mode
Privileged EXEC
clear ip ospf redistribution
Use this command to flush all self-originated external LSAs. Reapply the redistribution
configuration and re-originate prefixes as necessary.
Format
clear ip ospf redistribution
Mode
Privileged EXEC
clear ip ospf stub-router
OSPF can enter stub router mode due to resource exhaustion (too many LSA's, too many
routes, memory allocation failures etc). When this happens, the user can get out of this mode
by issuing the command after the cause of the overload has been resolved.
Format
clear ip ospf stub-router
Mode
Privileged EXEC
ProSafe Managed Switch
Routing Commands
270