4-60
Default Level
2: System level
Parameters
process-id
: Clears the statistics information of the specified OSPF process, which is in the range 1 to
65535.
neighbor
: Clears neighbor statistics.
interface-type interface-number
: Clears the statistics information of the neighbor connected to the
specified interface.
router-id
: Clears the statistics information of the specified neighbor.
Description
Use the
reset ospf counters
command to clear OSPF statistics information.
Examples
# Reset OSPF counters.
<Sysname> reset ospf counters
reset ospf process
Syntax
reset ospf
[
process-id
]
process
[
graceful-restart
]
View
User view
Default Level
2: System level
Parameters
process-id
: OSPF process ID, in the range 1 to 65535.
graceful-restart
: Reset the OSPF process using GR.
Description
Use the
reset ospf process
command to reset all OSPF processes or a specified process.
Using the
reset ospf process
command will:
z
Clear all invalid LSAs without waiting for their timeouts;
z
Make a newly configured Router ID take effect;
z
Start a new round of DR/BDR election;
z
Not remove any previous OSPF configurations.
The system prompts you to select whether to reset OSPF process upon execution of this command.
Examples
# Reset all OSPF processes.
<Sysname> reset ospf process
Warning : Reset OSPF process? [Y/N]:Y
# Reset all OSPF processes using GR.
<Sysname> reset ospf process graceful-restart