Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-49
View
OSPF view
Parameter
value:
OSPF protocol route preference, ranging from 1 to 255.
ase
: Indicates the preference of an imported external route of the AS.
Description
Use the
preference
command to configure the preference of an OSPF protocol route.
Use the
undo preference
command to 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 the highest preference selected for
forwarding IP packets.
Example
# Specify the preference of an imported external route of the AS as 160.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] preference ase 160
3.1.47 reset ospf
Syntax
reset ospf
[
statistics
] {
all
|
process-id
}
View
User view
Parameter
all
: Resets all OSPF processes.
process-id
: OSPF Process ID, ranging from 1 to 65535. If this argument is not specified,
all OSPF processes will be reset.
statistics
: Resets OSPF statistics.