device# configure terminal
device(config)# ipv6 router ospf
device(config-ipv6-router-ospf-vrf-default-vrf)# distance intra-area 80
device(config-ipv6-router-ospf-vrf-default-vrf)# distance inter-area 90
device(config-ipv6-router-ospf-vrf-default-vrf)# distance external 100
The following example changes the default administrative distances for intra-area routes, inter-area routes, and external routes.
device# configure terminal device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# distance intra-area 80 device(config-ipv6-router-ospf-vrf-default-vrf)# distance inter-area 90 device(config-ipv6-router-ospf-vrf-default-vrf)# distance external 100