Command Reference OSPFv2 Commands
Displays the global configuration of OSPF.
2.11 clear ip ospf process
Use this command to clear and restart the OSPF instance.
clear ip ospf ( process-id ) process
OSPF instance ID.
When the ID is specified, the command clears data related to the
specified instance and restarts the OSPF instance.
When no ID is specified, the command clears data related to all
running OSPF instances and restarts all the running OSPF instances.
The rule recommended in the RFC 1583 is used by default.
Resetting the entire OSPF process causes that all neighbors are re-established and OSPF is greatly
affected. Therefore, you are prompted to confirm the execution for deliberation.
The following example clears data of OSPF instance 1 and restarts OSPF instance 1.
Ruijie#clearipospf1process
Use this command to determine the RFC 1583 or RFC 2328 rule for selecting the optimal route
among route table several routes to the same destination out of the Autonomous System (AS).