Technical information

ADC Telecommunications, Inc.
196 CHAPTER 2: CUDA 12000 BASE SYSTEM COMMANDS
ip ospf cost
Configures the cost metric for the current OSPF interface. Note the following:
You execute this command from IP interface mode.
Once within this mode, you must specify the IP interface to which you want to apply the
OSPF configuration using the ip address command.
You must have already defined one or more ospf areas with the ospf area command within
router:ospf mode. You must apply an ospf area to the current interface using the ip ospf
area-id before you use this command.
Use the show ip ospf command to display the OSPF configuration for the current interface.
Mode
interface:<type>:csi(<c/s/i>):ip-address(<ip-address>)#
Syntax
ip ospf cost <cost>
Arguments
<cost> Cost that you want to assign to this OSPF interface. Valid range is 0 to
65535. The default is 1.
This value specifies the type of service (TOS) cost. The lowest TOS cost has the
highest priority for routing. For example, if two interfaces can be used to
forward traffic to the same destination, the one with the lower TOS cost is
selected.