Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-45
View
OSPF view
Parameter
ip-address : IP address of the neighboring point.
dr-priority-number: Priority value represents the corresponding priority value of the
network neighbor. The range is from 0 to 255. The default value is 1.
Description
Using peer command, you can configure the neighboring point if a router is connected
to a network of NBMA type. Using undo peer command, you can cancel the configured
neighboring point.
Example
# Configure the IP address of neighboring router as 10.1.1.1.
[Quidway-ospf-1] peer 10.1.1.1
3.1.45 preference
Syntax
preference [ ase ] value
undo preference [ ase ]
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