Reference Guide

848 | Open Shortest Path First (OSPFv2)
www.dell.com | support.dell.com
Usage
Information
All neighboring routers in the same network must use the same password to exchange OSPF
information.
ip ospf cost
c e s z
Change the cost associated with the OSPF traffic on an interface.
Syntax
ip ospf cost cost
To return to default value, enter no ip ospf cost.
Parameters
Defaults
The default cost is based on the reference bandwidth.
Command Modes
INTERFACE
Command
History
Usage
Information
If this command is not configured, cost is based on the auto-cost command.
When you configure OSPF over multiple vendors, use the ip ospf cost command to ensure that all
routers use the same cost. Otherwise, OSPF routes improperly.
Related
Commands
ip ospf dead-interval
c e s z
Set the time interval since the last hello-packet was received from a router. After the interval elapses,
the neighboring routers declare the router dead.
Syntax
ip ospf dead-interval seconds
To return to the default values, enter no ip ospf dead-interval.
Parameters
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
cost
Enter a number as the cost.
Range: 1 to 65535.
Version 8.3.11.1 Introduced on Z9000
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
auto-cost Control how the OSPF interface cost is calculated.
seconds
Enter the number of seconds for the interval.
Range: 1 to 65535.
Default: 40 seconds.