Configures the reference bandwidth in terms of megabits per second. Specifying the reference bandwidth allows you to control the default metrics for an interface, which is calculated by OSPF.

The formula used to calculate default metrics is: ref-bw divided by the bandwidth.

Use the no → auto-cost → reference-bandwidth command to configure default metrics calculation based on interface type.

Supported in the following platforms:

  • Access Points — AP 7161, AP 7502, AP-7522, AP 7532, AP 7562, AP 7602, AP 7622, AP-8163, AP-8432, AP-8533
  • Wireless Controllers — RFS 4000


auto-cost reference-bandwidth <1-4294967>


auto-cost reference-bandwidth <1-4294967>

reference-bandwidth <1-4294967>

Defines the reference bandwidth in Mbps

  • <1-4294967> – Specify the reference bandwidth value from 1 - 4294967.


nx9500-6C8809(config-profile default-rfs4000-router-ospf)#auto-cost reference-bandwidth 1

Ensure that auto-cost reference-bandwidth is configured uniformly on all routers

nx9500-6C8809(config-profile default-rfs4000-router-ospf)#
nx9500-6C8809(config-profile default-rfs4000-router-ospf)#show context router ospf
  auto-cost reference-bandwidth 1
nx9500-6C8809(config-profile default-rfs4000-router-ospf)#

Related Commands

no (router-mode-config-command) Removes auto-cost reference bandwidth settings