R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

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