auto-cost reference-bandwidth

Use this command to configure an OSPF auto cost reference bandwidth for this OSPFv3 instance.

Syntax

auto-cost reference-bandwidth bandwidth-multiplier
no auto-cost reference-bandwidth bandwidth-multiplier

Parameters

bandwidth-multiplier Specifies the auto cost bandwidth multiplier in megabits per second for this OSPFv3 instance. Valid values are 1 - 4294967. The default value is 100.

Defaults

None.

Mode

OSPFv3 router configuration.

Usage

The formula for calculating the OSPF interface cost metric is the reference bandwidth divided by the interface bandwidth. By default the reference bandwidth is set to 100 Mbps. For 10 Mbps links, the resulting cost is 10. For 100, 1000, or 10000 Mbps links, the resulting cost is 1. The ability to re-center the reference bandwidth to a higher value, allows for OSPF interface costs to default to a value greater than 1 for 100, 1000, or 10000 Mbps links and greater than 10 for 10 Mbps links.

It is recommended that the auto cost reference bandwidth be the same value for all OSPF routers in the domain.

The OSPF interface cost can be statically set or determined using the interface speed summoning method with tracked objects using ipv6 ospf cost.

The “no” form of this command resets the auto cost reference bandwidth to 100 Mbps for this OSPFv3 instance.

Example

This example shows how to configure the auto cost reference bandwidth to 1Gbps for OSPFv3 instance 10:

System(su)->configure
System(su-config)->ipv6 router ospf 10
System(su-config-ospfv3)->auto-cost reference-bandwidth 1000
System(su-config-ospfv3)->