Changing the reference bandwidth for the cost on OSPFv3 interfaces

The reference bandwidth for OSPFv3 can be altered, resulting in various costs.

Before you begin

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ipv6 router ospf command to enter OSPFv3 router configuration mode and enable OSPFv3 globally.
    device(config)# ipv6 router ospf
  3. Enter the auto-cost reference-bandwidth command to change the reference bandwidth.
    device(config-ipv6-router-ospf-vrf-default-vrf)# auto-cost reference-bandwidth 500

Example

The following example changes the auto-cost reference bandwidth to 500.

device# configure terminal
device(config)# ipv6 router ospf 
device(config-ipv6-router-ospf-vrf-default-vrf)# auto-cost reference-bandwidth 500

The reference bandwidth specified in this example results in the following costs:

The costs for 10-Mbps, 100-Mbps, and 155-Mbps ports change as a result of the changed reference bandwidth. Costs for higher-speed interfaces remain the same.