Ip ospf cost cost

Syntax Description:

® cost—OSPF metric to use for the interface. The range of values is 1 to 65535.

Purpose: By default OSPF calculates the cost of an interface by dividing the bandwidth of the interface into 100 millionTable 19-1 lists the costs for various interface types. Using the default value when your network has interfaces with a bandwidth greater than 100,000,000 bps is not recommended. OSPF will not be able to differentiate between a 100-Mbps interface and an interface with a bandwidth greater than 100 Mbps. The ip ospf cost command enables you to change the OSPF cost for an interface. The default reference value used to calculate the OSPF cost of an interface can be modified using the command auto-cost reference-bandwidth (see Section 3-1).

Table 19-1. Default OSPF Cost for Selected Interfaces

Interface Type

Interface Bandwidth in Bits per Second (bps)

OSPF Cost

Serial

56,000

1785

T1

1,544,000

64

Ethernet

10,000,000

10

Fast Ethernet

100,000,000

1

Gigabit Ethernet

1,000,000,000

1

OC48

2,500,000,000

1

Initial Cisco IOS Software Release: 10.0

Was this article helpful?

0 0

Post a comment