Tip

This is the documentation for the 20.08 version. Looking for the documentation of the latest version? Have a look here.

OSPF6 ExampleΒΆ

This example configuration implements an OSPF setup using the required information from Example OSPF Configuration.

tnsr(config)# route dynamic ospf6
tnsr(config-frr-ospf6)# server vrf default
tnsr(config-ospf6)# ospf6 router-id 10.2.0.1
tnsr(config-ospf6)# interface GigabitEthernet3/0/0 area 0.0.0.0
tnsr(config-ospf6)# interface TenGigabitEthernet6/0/0 area 0.0.0.0
tnsr(config-ospf6)# exit
tnsr(config-frr-ospf6)# interface GigabitEthernet3/0/0
tnsr(config-ospf6-if)# passive
tnsr(config-ospf6-if)# exit
tnsr(config-frr-ospf6)# interface TenGigabitEthernet6/0/0
tnsr(config-ospf6-if)# cost outgoing 10
tnsr(config-ospf6-if)# exit
tnsr(config-frr-ospf6)# enable
tnsr(config-frr-ospf6)# exit
tnsr(config)#

A similar configuration may be applied to neighboring routers also connected to the same network as the TenGigabitEthernet6/0/0 interface. Adjust the router ID and interface names as needed.

Note

OSPF6 only supports a single area, 0.0.0.0, thus all interfaces and neighbors must use area 0.0.0.0.