OSPF Configuration Commands
587
View
Interface view
Parameter
■
value: Cost for running OSPF protocol, ranging from 1 to 65535.
Description
Using the ospf cost command, you can configure different packet sending costs so
as to send packets from different interfaces. Using the undo ospf cost command,
you can restore the default costs.
By default, the interface automatically calculates the costs required for running
OSPF protocol according to the current Baud rate.
Example
Specify the cost spent when an interface runs OSPF as 33.
[3Com] interface serial1/0/0
[3Com-Serial1/0/0] 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. By default, the value is 1.
Description
Using the ospf dr-priority command, you can configure the priority for electing the
"designated router" on an interface. Using the undo ospf dr-priority command,
you can restore the default value.
Interface priority determines the interface qualification when electing the
“designated router”. The interface with high priority is considered first when there
is collision in election.
Example
Set the priority of the interface Ethernet1/0/0 to 8, when electing the DR.
[3Com] interface Ethernet1/0/0
[3Com-Ethernet1/0/0] ospf dr-priority 8
ospf mib-binding
Syntax
ospf mib-binding
process-id
undo ospf mib-binding
View
System view
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...