Reference Guide
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version 
6.1.1.1
Introduced on the E-Series.
Usage 
Information
All neighboring routers in the same network must use the same password to exchange OSPF 
information.
ip ospf cost
Change the cost associated with the OSPF traffic on an interface.
S4820T
Syntax
ip ospf cost cost
To return to default value, use the no ip ospf cost command.
Parameters
cost
Enter a number as the cost. The range is from 1 to 65535.
Defaults The default cost is based on the reference bandwidth.
Command Modes INTERFACE
Command History
This guide is platform-specific. For command information about other platforms, refer to the 
relevant 
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version 
6.1.1.1
Introduced on the E-Series.
Usage 
Information
If this command is not configured, cost is based on the auto-cost command.
When you configure OSPF over multiple vendors, to ensure that all routers use the same cost, 
use the ip ospf cost command. Otherwise, OSPF routes improperly.
Related 
Commands
auto-cost — controls how the OSPF interface cost is calculated.
946










