Celestica Documentation Portal

Find your product documents here

auto-cost

Calculates OSPF interface cost according to bandwidth.

Syntaxauto-cost reference-bandwidth <bandwidth>
Command modeRouter OSPF
Parameters
  • bandwidth – Reference bandwidth in terms of Mbits per second. Range: 1 – 4294967.

Usage Use no auto-cost reference-bandwidth <bandwidth> to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# auto-cost reference-bandwidth 4
sonic(config-router)# no auto-cost reference-bandwidth 4