Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-42
View
OSPF view
Parameter
value: OSPF protocol route preference, ranging from 1 to 255.
ase: Indicate the preference of an imported external route of the AS.
Description
Using preference command, you can configure the preference of an OSPF protocol
route. Using undo preference command, you can restore the default value of the
OSPF protocol route.
By default, the preference of an OSPF protocol internal route is 10 and the preference
of an external route is 150.
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] preference ase 160
3.1.44 reset ospf
Syntax
reset ospf { all | statistics }
View
User view
Parameter
statistics: Reset OSPF statistics.
all: Reset all OSPF processes.
Description
Using reset ospf all command, you can reset all the OSPF process.
The reset ospf all command can be used to reset the OSPF process and the following
results are expected:
z Clear invalid LSA immediately without waiting for LSA timeout.