3com 8807 Reference Guide
OSPF Configuration Commands
447
ospf cost
Syntax
ospf cost value
undo ospf cost
View
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.
send messages from different interfaces.
Use the undo ospf cost command to restore the default cost.
For 3Com Switch 8800 Family Series Routing Switches, the default cost for
running OSPF protocol on the VLAN interface is 10.
running OSPF protocol on the VLAN interface is 10.
Example
# Specify the cost spent when an interface runs OSPF as 33.
[SW8800] interface Vlan-interface 10
[3Com-Vlan-interface10] ospf cost 33
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.
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.
"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.
"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.
[SW8800] interface Vlan-interface 10
[3Com-Vlan-interface10] ospf dr-priority 8