auto-cost reference-bandwidth

This command sets the reference bandwidth for cost calculations, where this bandwidth is considered equivalent to an OSPF cost of 1, specified in Mbits/s.

Syntax

auto-cost reference-bandwidth number
no auto-cost reference-bandwidth  

Command

Description

number

Defines the reference bandwidth in terms of megabits per second in the range of 1 – 4294967.

Default

100Mbit/s (i.e. a link of bandwidth 100Mbit/s or higher will have a cost of 1. Cost of lower bandwidth links will be scaled with reference to this cost).

Command Mode

Privileged User

Example

This example sets the reference bandwidth for cost calculations.

(config-data)# router ospf     
(conf-router) # auto-cost reference-bandwidth 1000