Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-48
Because multiple dynamic routing protocols could be running on a router, there is the
problem of routing information sharing among routing protocols and selection.
Therefore, a default preference is specified for each routing protocol. When a route is
identified by different protocols, the protocol with a high preference will play a decisive
role.
Example
# Specify the preference of an imported external route of the AS as 160.
[Quidway-ospf-1] preference ase 160
3.1.49 reset ospf
Syntax
reset ospf
[
statistics
] {
all
|
process-id
}
View
User view
Parameter
statistics
: Resets OSPF statistics.
all
: Resets all OSPF processes.
process-id
: ID of an OSPF process. If no OSPF process is specified, all OSPF
processes are reset.
Description
Use the
reset ospf all
command to reset all OSPF processes.
Use the
reset ospf process-id
command to reset the corresponding OSPF process.
The following are the benefits of the
reset ospf all
command:
z
Clear invalid LSA immediately without waiting for LSA timeout.
z
If the Router ID changes, a new Router ID will take effect by executing the
command.
z
Re-elect DR and BDR conveniently.
z
OSPF configuration before the restart will not lose.
The system will require the user to confirm whether to re-enable the OSPF protocol
after execution of the command.
Example
# Reset all the OSPF processes.
<Quidway> reset ospf all
# Reset OSPF process 200.