Managed Switch CLI Manual, Release 8.0.3
Routing Commands
4-52
v1.0, July 2010
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
].
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
].
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 counters
Mode
Privileged EXEC
Format
clear ip ospf neighbor [
neighbor-id
]
Mode
Privileged EXEC
Format
clear ip ospf neighbor interface [
unit/slot/port
] [
neighbor-id
]
Mode
Privileged EXEC
Format
clear ip ospf redistribution
Mode
Privileged EXEC