3com 5500-ei pwr Reference Guide
4-46
reset ospf
Syntax
reset ospf
{ all | process-id }
View
User view
Parameters
all
: Resets all OSPF processes.
process-id
: OSPF process ID, in the range of 1 to 65535.
Description
Use the reset ospf command to reset OSPF process(es).
After you use this command to reset an OSPF process:
z
Invalid LSA is cleared immediately before LSA times out.
z
A new Router ID takes effect if the Router ID changes.
z
DR and BDR are re-elected conveniently.
z
OSPF configuration before the restart will not lose.
After this command is issued, the system will prompt you to confirm whether to re-enable OSPF.
Examples
# Reset all the OSPF processes.
<Sysname> reset ospf all
# Reset OSPF process 200.
<Sysname> reset ospf 200
reset ospf statistics
Syntax
reset ospf
statistics { all | process-id }
View
User view
Parameters
all
: Clears the statistics of all OSPF processes.
process-id
: OSPF process ID, in the range of 1 to 65535.
Description
Use the reset ospf statistics command to clear the statistic of OSPF process(es).
Examples
# Clear the statistics of all OSPF processes.
<Sysname> reset ospf statistics all