Routing Commands
293
ProSafe Managed Switch
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
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
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
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.
default-information originate (OSPF)
This command is used to control the advertisement of default routes.
Default • metric—unspecified
• type—2
Format default-information originate [always] [metric <0-16777214>]
[metric-type {1 | 2}]
Mode
Privileged EXEC
Privileged EXEC
Privileged EXEC
Format clear ip ospf stub-router
Mode Privileged EXEC
Router OSPF Config