Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-40
Interface view
Parameter
value: Cost for running OSPF protocol, ranging from 1 to 65,535.
Description
Use the ospf cost command to configure different message sending costs so as to
send messages from different interfaces.
Use the undo ospf cost command to restore the default cost.
For Quidway S8500 Series Routing Switches, the default cost for running OSPF
protocol on the VLAN interface is 10.
Example
# Specify the cost spent when an interface runs OSPF as 33.
[Quidway] interface Vlan-interface 10
[Quidway-Vlan-interface10] ospf cost 33
3.1.39 ospf dr-priority
Syntax
ospf dr-priority value
undo ospf dr-priority
View
Interface view
Parameter
value: Interface priority for electing the "designated router", ranging from 0 to 255. The
default value is 1.
Description
Use the ospf dr-priority command to configure the priority for electing the "designated
router" on an interface.
Use the undo ospf dr-priority command to restore the default value.
The priority of the interface determines the qualification of the interface when the
"designated router" is elected. The interface with higher priority will be considered first
when vote collision occurs.
Example
# Set the priority of the interface Vlan-interface 10 to 8, when electing the DR.