Command Reference Guide

216ospf cost 3Com Router 5000 Family and Router 6000 Family
Command Reference
ospf cost
Purpose 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.
Syntax ospf cost value
undo ospf cost
Parameters value
Cost for running OSPF protocol. Valid values are 1 to
65535.
Default 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
View This command can be used in the following views:
Interface view