Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-43
3.1.37 ospf cost
Syntax
ospf cost value
undo ospf cost
View
Interface view
Parameter
value: Cost for running OSPF protocol, ranging from 1 to 65535.
Description
Use the ospf cost command to configure different packet sending costs so as to send
packets from different interfaces.
Use the undo ospf cost command to 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
3.1.38 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
Use the ospf dr-priority command to configure the priority for electing the "designated
router" on an interface.