Maintaining OSPF involves resetting OSPF and clearing OSPF statistics.
OSPF information cannot be restored after being cleared. Exercise caution when running this command.
After confirming the running information about the OSPF statistics, run the following commands in the user view.
Action |
Command |
|---|---|
Clear OSPF counters |
reset ospf [ process-id ] counters [ neighbor [ interface-type interface-number ] [ router-id ] ] |
Clear the routes imported by OSPF |
reset ospf [ process-id ] redistribution |
Action |
Command |
|---|---|
Restart the OSPF process |
reset ospf process NOTE:
After the reset ospf process command is used to restart OSPF, the following situations may occur:
|
Clear invalid LSAs within the set time before LSAs time out |
reset ospf process flush-waiting-timer time |
Restart the OSPF process in GR mode |
reset ospf [ process-id ] process [ graceful-restart ] |