R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
126
Default command level
1: Monitor level
Parameters
process-id: Clears the statistics of an OSPF process specified by its ID in the range of 1 to 65535.
neighbor: Clears neighbor statistics.
interface-type interface-number: Clears the statistics of the neighbor connected to the specified interface.
router-id: Clears the statistics of the specified neighbor.
Examples
# Clear OSPF statistics.
<Sysname> reset ospf counters
reset ospf process
Use reset ospf process to reset all OSPF processes or a specified process.
Syntax
reset ospf [ process-id ] process [ graceful-restart ]
Views
User view
Default command level
2: System level
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
The reset ospf process command:
• 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.
The following matrix shows the command and router compatibility:
Command 6602 HSR6602 6604/6608/6616
reset ospf process No No
• Yes when using the RPE-X1 or RSE-X1
MPU
• No when using the MCP MPU
Examples
# Reset all OSPF processes.
<Sysname> reset ospf process










