Having recently setup BGP for a new IPv6 space, I wanted to make sure that IPv6 wasn’t a “second class citizen” on the network, so it needed to be routed redundantly internally as well. I picked a /48 to pull subnets out of for routing, and then matched up the 4th quad with the VLAN ID for administration ease and simplicity.
The important commands are as follows:
This sets up an interface for OSPF, setup up an ACL for secure ssh access over IPv6, and sets up IPv6 OSPF routing process ID 6. It is a good idea to specify a router-id, because if your router has no IPv4 addresses it will not be able to pick a router-id and never form adjacencies.
I like that all the ipv6 related commands on Cisco all start with ipv6, ipv6 address, ipv6 access-list, ipv6 router, ipv6 ospf, etc etc. It is nice that they were able to unify all the commands under one heading.