Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPFv3

Direct answer

OSPFv3 is OSPF for IPv6. It works like OSPFv2 but runs per link, using link-local addresses for adjacencies and next hops; prefixes are carried in their own LSAs. It still uses a 32-bit router ID.

When to use this

Use it when IPv6 routes are missing, or OSPFv3 neighbours do not form.

First 30 seconds

1. ipv6 unicast-routing configured?

2. show ospfv3 neighbor — FULL?

3. Missing → interface enabled for OSPFv3 in the same area on both ends? Link-local addresses present?

4. Process not starting → router ID missing on a router with no IPv4 address.

5. show ipv6 route ospf — prefixes installed?

Operational verification

ipv6 unicast-routing on → router ID set → interfaces enabled in the right area → link-local hellos match → FULL → LSAs exchanged → IPv6 routes installed with link-local next hops

Failure signatureOSPFv3 neighbors do not form on an IPv6 link

IPv6 routing over OSPFv3 is missing although IPv4 OSPF on the same link works.

Possible stored cause: IPv6 or OSPFv3 is not enabled on the interface, link-local addressing/area/instance differs, or ipv6 unicast-routing is off.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE · IOS/IOS XE
Key commandrouter ospfv3 <process-id>
Scope / prerequisiteUse it when IPv6 routes are missing, or OSPFv3 neighbours do not form.
Show · 6Reference · 6
What next?3 suggested next steps
Child topics (this level)5
Catalog command links12
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

IPv6 routing over OSPFv3 is missing although IPv4 OSPF on the same link works.

Step 1 First 30 seconds Verify boundary

Immediate answer: Identify configuration model, IPv6 AF, area/interface and link-local peer. Follow expected adjacency → target prefix advertisement → IPv6 RIB/CEF → sourced traffic and return route.

Verification chain: model/AF/interface/link-local → expected adjacency → AF LSDB prefix → IPv6 RIB → CEF/neighbor → sourced return traffic

Boundary: FULL alone does not establish the desired AF prefix or packet delivery. Preserve observations before reset or configuration change.

Step 2 OSPFv3: close the same AF and sourced flow Verify boundary

Record process/model, IPv6 AF, area, router ID, interface/link-local peer, neighbor role/state and target prefix together. A healthy neighbor describes a control relationship, but it does not show the desired prefix is installed or that return traffic works.

For the two-router lab, inspect both remote /128s before and after the controlled link failure. Verify the expected LSDB advertisement, RIB owner, CEF/neighbor resolution and loopback-sourced packet exchange in both directions. Recheck an unaffected local interface. Restore the exact saved process/interface settings when ending the lab; route recovery depends on convergence, not merely parser acceptance.

Expected states and authored command examples do not create device Evidence or new technical verification dates. Keep legacy IPv6-only syntax and AF-model output labeled separately.

Step 3 Verification and output interpretation Verify boundary

Use show ospfv3 neighbor to inspect peer state and interface association, show ospfv3 interface for network type, timers, area and link-local control details, and show ospfv3 database for topology information. Then verify the correct address-family routing table such as show ipv6 route ospf (or the appropriate IPv4 AF output) to show route installation. Read next hops carefully: a link-local next hop accompanied by an outgoing interface is normal in IPv6 routing. If adjacency is FULL but no expected route is installed, inspect the correct address family and LSA/prefix information rather than treating the adjacency itself as the missing route. Confirm router IDs and interface identifiers when multiple logical links are present.

Step 4 OSPFv3: neighbor versus advertised-prefix failure Narrow the fault

1. No peer: inspect link-local interface state, AF activation, passive intent, area/instance, timers, protocol-89 policy and any configured authentication on both peers. Router IDs must be unique; local process numbers need not match.

2. Persistent exchange failure: compare interface MTU and database-exchange observations. Do not enable mtu-ignore simply to silence an unexplained mismatch.

3. FULL but remote IPv6 loopback absent: inspect link and intra-area-prefix information in the intended AF LSDB and confirm that loopback's interface activation. Do not read an IPv4-family table as evidence of IPv6 advertisement.

4. Advertisement exists but route missing: inspect selected IPv6 RIB sources, eligibility and next hop. If installed but traffic fails, inspect IPv6 CEF, neighbor resolution, policy and the explicit source's return route.

In the isolated AF lab, shut only the transit Gi1 on R1. Expect peer loss and withdrawal of the remote routes dependent on that adjacency, allowing applicable detection/convergence timers. Restore the exact original interface state and inspect adjacency, prefix, CEF and the original traffic again. Do not use a global OSPF clear as a read-only observation.

Step 5 Verification & troubleshooting Narrow the fault

Check OSPFv3 process, interface, neighbors, LSDB and the relevant IPv4/IPv6 route table.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

ipv6 unicast-routing must be on. Enable it per interface: ipv6 ospf <process> area <area> (classic) or ospfv3 <process> ipv6 area <area> (address-family mode). A router with no IPv4 address needs router-id configured by hand. Next hops in the routing table are link-local.

Key checks
  • show ospfv3 neighbor (or show ipv6 ospf neighbor) — neighbours and state.
  • show ospfv3 interface brief (or show ipv6 ospf interface brief) — OSPFv3 interfaces and areas.
  • show ospfv3 database — the LSAs.
  • show ipv6 route ospf — the routes installed.
  • show ipv6 interface brief — link-local addresses, which OSPFv3 uses for adjacencies.
ReferenceWhat it is1 section · depth on demand

What it is

OSPFv3 is the modern OSPF protocol version originally defined for IPv6 and extended with address-family operation on supported platforms. Neighbor relationships use link-local communication on IPv6 interfaces.

ReferenceHow it works1 section · depth on demand

OSPFv3: distinguish configuration models and address families

Scope: Cisco IOS / IOS XE OSPFv3, global IPv6 unicast. A legacy IPv6-only configuration uses ipv6 router ospf and interface ipv6 ospf ... area .... The address-family model uses router ospfv3, address-family ipv6 unicast and interface ospfv3 ... ipv6 area .... Do not mix the two models in one lab without a deliberate migration plan.

address-family ipv4 unicast is configuration for a different routed address family; it is not an observation command. OSPFv3 address-family support does not turn IPv4 routes into IPv6 routes. Link-local IPv6 control transport, router ID, area and instance context must agree with the chosen model.

For the AF lab below, read show ospfv3 interface, show ospfv3 neighbor and show ospfv3 database; verify the IPv6 prefix with show ipv6 route <prefix> and show ipv6 cef <destination>. Legacy IPv6-only releases expose the corresponding show ipv6 ospf family; confirm syntax on the selected release.

Reference: Cisco OSPFv3 address families.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

  • Still uses IP protocol/Next Header 89

- Router ID remains a 32-bit value

- IPv6 link-local state is important for neighbor formation

- Cisco IOS XE syntax commonly uses router ospfv3 and interface ospfv3 ... area ....

In depth

OSPFv3: OSPF for IPv6, and optionally IPv4 too

The Catalyst 9000 OSPF guide describes OSPFv3 as designed for IPv6 and address-family independent. One OSPFv3 instance can now carry both IPv6 and IPv4 routes. Before enabling it, routing must be on (ip routing), IPv6 forwarding enabled (ipv6 unicast-routing), and IPv6 enabled on each Layer 3 interface.

R1(config)# ipv6 unicast-routing
R1(config)# router ospfv3 1
R1(config-router)# router-id 10.0.0.1
R1(config-router)# address-family ipv6 unicast
R1(config-router-af)# passive-interface default
R1(config-router-af)# no passive-interface TenGigabitEthernet1/1/1
R1(config)# interface TenGigabitEthernet1/1/1
R1(config-if)# ipv6 address 2001:db8:ff::1/127
R1(config-if)# ospfv3 1 ipv6 area 0
R1(config-if)# ospfv3 network point-to-point
R1# show ospfv3 neighbor
          OSPFv3 1 address-family ipv6 (router-id 10.0.0.1)
Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
10.0.0.2          0   FULL/  -        00:00:35    17              TenGigabitEthernet1/1/1

Differences from OSPFv2 (RFC 5340)

AreaOSPFv2OSPFv3
Runs perIP subnetLink (several prefixes can share one link)
Neighbour addresses and next hopsInterface IPv4 addressesIPv6 link-local addresses
Addresses in router and network LSAsYesNo; moved to intra-area-prefix LSAs
AuthenticationIn the OSPF headerRemoved; relies on IPv6 AH/ESP
Router ID32 bitsStill 32 bits, and 0.0.0.0 is reserved
Several instances on one linkNoInstance ID in the header

Commands (from the Catalyst 9000 guide)

TaskCommand
Processrouter ospfv3 <pid> or legacy ipv6 router ospf <pid>
Interfaceospfv3 <pid> ipv6 area <id> or legacy ipv6 ospf <pid> area <id>
Summarisearea <id> range <prefix>/<len> [advertise | not-advertise] [cost <n>]
ECMPmaximum-paths 1–32, default 16
Verifyshow ipv6 ospf [interface], show ospfv3 neighbor

On an IPv6-only router there's no IPv4 address to derive a router ID from, so it must be configured explicitly.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

OSPFv3 forms neighbors on links and commonly uses IPv6 link-local addresses as next-hop/control-plane identities, even when the routes being carried are global IPv6 or—under supported address-family operation—IPv4. The router ID remains a 32-bit identifier and must be unique in the OSPF domain; it is not itself an IPv6 address. Compared with OSPFv2, address information is more explicitly separated from topology and link information in the LSA model. Activation is often interface-centric, associating an interface with a process and area rather than relying only on classic IPv4 network statements. Neighbor state, LSDB synchronization and SPF still follow the familiar link-state pipeline, but operators must avoid assuming that every neighbor-facing address shown in control-plane output is a globally routable next hop.

Limits and common misconceptions

OSPFv3 does not mean “IPv6 routes only” in every modern implementation, and the presence of an OSPFv3 process does not show that the desired address family is enabled. A link-local next hop is not evidence of incomplete addressing; it is normal for IPv6 control and forwarding adjacency. FULL adjacency shows database exchange for the relevant OSPF relationship, not that every expected IPv4/IPv6 prefix wins RIB selection. Router ID is a protocol identifier, not a reachable endpoint address. Keep transport/link-local state, OSPF adjacency, address-family LSDB content, RIB installation and forwarding as distinct layers.

ReferenceConfiguration & state2 sections · depth on demand

OSPFv3 AF: isolated two-router IPv6 lab

Authored Cisco IOS XE AF-model lab; verify support and actual interface names before use. R1 and R2 share only the numbered Gi1 link and area 0, with unique router IDs and no additional routing source for the test loopbacks. Save the prior interface/process configuration.

R1:

ipv6 unicast-routing
router ospfv3 10
 router-id 1.1.1.1
 address-family ipv6 unicast
 exit-address-family
interface GigabitEthernet1
 ipv6 address 2001:db8:12::1/64
 ospfv3 10 ipv6 area 0
 no shutdown
interface Loopback0
 ipv6 address 2001:db8:1::1/128
 ospfv3 10 ipv6 area 0

R2:

ipv6 unicast-routing
router ospfv3 10
 router-id 2.2.2.2
 address-family ipv6 unicast
 exit-address-family
interface GigabitEthernet1
 ipv6 address 2001:db8:12::2/64
 ospfv3 10 ipv6 area 0
 no shutdown
interface Loopback0
 ipv6 address 2001:db8:2::2/128
 ospfv3 10 ipv6 area 0

Both interfaces derive/use link-local IPv6 state. Read actual network type and neighbor role rather than assuming this Ethernet lab prints FULL/-. Expect the intended peer adjacency to reach FULL, the remote loopback prefix to be advertised and installed, and sourced loopback-to-loopback traffic to succeed in both directions. This is a configuration example and expected behavior, not an executed router test.

Design and configuration model

Define the OSPFv3 process/router ID deliberately, enable the required address family, and attach the intended interfaces to the correct areas. Confirm IPv6/link-local operation on interfaces even when the design is primarily interested in routed prefixes, because neighbor communication depends on link-local capability. Keep area type, timers, authentication/security method and network type consistent across intended peers. When both IPv4 and IPv6 address families are used, document which families each interface/process should carry rather than treating “OSPFv3 up” as evidence that both are exchanging routes. Preserve router-ID uniqueness across OSPF versions/processes where operational tooling might otherwise become ambiguous.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 5340

Authoritative/upstream documentation reviewed for bounded claims in Routing → OSPF → OSPFv3. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc5340.html · confidence 94%
Embedded reference data

Quick lookup tables

OSPFv3 verification map

Cisco-first checks for OSPFv3 control-plane and address-family routing.

QuestionCommand
Process/Router ID/AF state?show ospfv3
Neighbor state?show ospfv3 neighbor
Interface area/type/cost?show ospfv3 interface
LSDB state?show ospfv3 database
IPv6 routes installed?show ipv6 route ospf

OSPFv3 · operational reference

Compact state and interpretation boundaries for fast lookup.

OSPFv3 elementReference meaning
Router ID32-bit protocol identity
Link-local addressNormal neighbor/control next-hop identity
Address familyDetermines IPv4/IPv6 route content carried
FULL neighborDatabase exchange established
AF route tableProves installed routes for that family
Depth when you need it

Deep reference

Healthy vs suspicious evidence

OSPFv3 observations and interpretation

ObservationInterpretationNext check
Link-local interface healthy, no neighborLocal IPv6 alone does not establish OSPF participationInterface/model/AF, area/instance and peer policy
Expected neighbor FULL, remote prefix absentAdjacency and target advertisement are different statesCorrect AF LSDB and originator's loopback activation
IPv6 RIB route present, flow failsSelection is not delivery evidenceCEF/neighbor, egress policy and explicit return source

On an Ethernet broadcast segment, interpret role suffix and 2-Way behavior using actual DR/BDR roles; do not require every pair of DROTHERs to reach FULL. Record actual command output separately from these illustrative expectations.

Confirmation

Confirm action

Continue?