Command Reference Guide

Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 566
HP Moonshot Switch Module CLI Command Reference
clear ip ospf neighbor
Use this command to drop the adjacency with all OSPF neighbors. On each neighbors interface, send a one-
way hello. Adjacencies may then be re-established. To drop all adjacencies with a specific router ID, specify the
neighbors 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.
default-information originate (OSPF)
This command is used to control the advertisement of default routes.
no default-information originate (OSPF)
This command is used to control the advertisement of default routes.
default-metric (OSPF)
This command is used to set a default for the metric of distributed routes.
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
Default metric—unspecified
•type2
Format
default-information originate [always] [metric 0-16777214] [metric-type {1 | 2}]
Mode Router OSPF Config
Format
no default-information originate [metric] [metric-type]
Mode Router OSPF Config