Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols ospf auto-cost reference-bandwidth <bandwidth>

Directs the system to use the reference-bandwidth method for calculating the administrative cost.

set protocols ospf [ process pid ] auto-cost reference-bandwidth bandwidth
delete protocols ospf[ process pid ] auto-cost reference-bandwidth
show protocols ospf[ process pid ] auto-cost reference-bandwidth

The default reference bandwidth is 108.

process pid
Specifies the PID of an IPv4 OSPF process.
bandwidth
The reference-bandwidth rate in megabits per second (Mbps). The rate ranges from 1 through 4294967.

Configuration mode

protocols {
       ospf {
               process pid {
                       auto-cost {
                              reference-bandwidth bandwidth
                       }
               }
       }
}

Use this command to set a reference-bandwidth rate for calculating the OSPF cost. The OSPF rate is calculated as the reference bandwidth divided by the actual bandwidth.

An explicitly set cost for an area overrides automatically calculated rates.

Use the set form of this command to set the reference-bandwidth rate for calculating the OSPF cost.

Use the delete form of this command to restore the default reference-bandwidth rate, which is 108 Mbps, for calculating the OSPF cost.

Use the show form of this command to display the (current) reference-bandwidth rate for OSPF cost.