Administrator Guide
ip ospf cost
Change the cost associated with the OSPF trac on an interface.
S3048–ON
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-specic. For command information about other platforms, see the relevant Dell Networking
OS Command Line Reference Guide.
Version Description
9.8(1.0) Introduced on the Z9100-ON.
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.7(0.0) Introduced on the S6000-ON.
9.2(1.0) Introduced on the Z9500.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
pre- 6.1.1.1 Introduced on the E-Series.
Usage Information
If this command is not congured, cost is based on the auto-cost command.
When you congure 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 — control how the OSPF interface cost is calculated.
1084 Open Shortest Path First (OSPFv2 and OSPFv3)