IPv6 OSPF on a Cisco router

The big difference between IPv4 and IPv6 OSPF configuration on a Cisco router is that the initial configuration has moved to the interface level, instead of using the "network" statements to determine which interfaces will be part of the OSPF process. To get IPv6 OSPF up-and-running, here are the 4 basic commands:

  1. Enable ipv6 routing between non-local subnets
    router(config)# ipv6 unicast-routing

  2. Go into the interface config and enable the OSPF process and area
    router(config-if)# ipv6 ospf 100 area 0

  3. Go into the ipv6 OSPF global configuration
    router(config)# ipv6 router ospf 100

  4. Set the ipv6 OSPF router id
    router(config-rtr)# router-id X.X.X.X