172
Related commands
ospf prefix-suppression
reset ospf counters
Use
reset ospf counters
to clear OSPF statistics.
Syntax
reset ospf
[
process-id
]
counters
Views
User view
Predefined user roles
network-admin
Parameters
process-id
: Clears the statistics for an OSPF process specified by its ID in the range of 1 to 65535.
Examples
# Clear OSPF statistics for all processes.
<Sysname> reset ospf counters
reset ospf process
Use
reset ospf process
to restart all OSPF processes or a specified process.
Syntax
reset ospf
[
process-id
]
process
[
graceful-restart
]
Views
User view
Predefined user roles
network-admin
Parameters
process-id
: Specifies an OSPF process by its ID in the range of 1 to 65535.
graceful-restart
: Resets the OSPF process by using GR.
Usage guidelines
If no process is specified, this command restarts all OSPF processes.
The
reset ospf process
command performs the following actions:
•
Clears all invalid LSAs without waiting for their timeouts.
•
Makes a newly configured Router ID take effect.
•
Starts a new round of DR/BDR election.
•
Does not remove previous OSPF configurations.
The system prompts you to select whether to reset OSPF process upon execution of this command.