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 reoriginate prefixes as necessary.
Format
clear ip ospf redistribution
Mode
Privileged EXEC
default-information originate (OSPF)
This command is used to control the advertisement of default routes. The metric argument
can be a number in the range 0–16777214. The metric type can be 1 or 2.
Default
metric—unspecified
type—2
Format
default-information originate [always] [metric metric] [metric-type {1 | 2}]
Mode
Router OSPF Config
M6100 Series Switches
Routing Commands
713