Use it when an OSPFv3 adjacency does not come up or flaps.
Neighbors
OSPFv3 neighbours find each other with hellos sent to a multicast address from link-local addresses, and must agree on area, timers, instance ID and authentication before becoming FULL.
1. show ospfv3 neighbor — present? State?
2. Not present → show ospfv3 interface <interface> on both ends: area, timers, instance ID?
3. show ipv6 interface <interface> — link-local address present?
4. Stuck in EXSTART → MTU mismatch.
5. Flapping → interface errors or hello/dead timers too aggressive.
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
Inspect show ospfv3 interface and IPv6 link-local state; capture OSPFv3 Hellos with IP protocol 89.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ospfv3 neighborVerification & Troubleshooting
Focused checks for this Topic. Stored verification and troubleshooting material remains available below.
Check 1 — Confirm interface and peer identity
On the intended IPv6 interface, check OSPFv3 participation, area, instance, Router ID, link-local peer, passive state and network type. Use show ospfv3 interface and show ospfv3 neighbor. A global IPv6 address alone does not prove an adjacency.
Check 2 — Interpret the expected neighbor state
Compare area, Hello/Dead timers, MTU and peer state on both ends. On broadcast networks, DROTHER-to-DROTHER 2-Way may be correct; Full is expected where adjacency formation is required.
Check 3 — Check database synchronization
If neighbors stall in ExStart/Exchange/Loading, compare interface MTU, network type and database-exchange symptoms before resetting state. Confirm matching LSDB scope when Full is expected.
Check 4 — Prove routes and the original IPv6 workload
Compare show ospfv3 database, show ipv6 route ospf and interface-bound next-hop/FIB resolution. A Full neighbor is not proof that the required prefix was advertised, installed or forwarded. Repeat an IPv6 reachability test including its return path.
More detailAdditional checks8 sections
Longer notes behind the focused checks above. Start with the checks; use these when you need more detail.
First 30 seconds
Immediate answer: For one OSPFv3 peer, verify link-local reachability, interface/process scope and neighbor state before blaming IPv6 route calculation.
Verification chain: IPv6 link-local adjacency → OSPFv3 interface/process → Hello compatibility → neighbor state → LSDB/address family → RIB
Stop condition: An OSPFv3 neighbor does not show the desired address family or prefix is exchanged and installed.
Layered verification and original-test closure
Operational verification and known-good state
show ospfv3 neighbor
show ospfv3 interface GigabitEthernet0/0
show ipv6 interface brief
The neighbour table gives router ID, priority, state, dead time and interface. The interface view shows the link-local address in use, the area, instance ID, network type and timers. The IPv6 interface view confirms that the interface is up and has a link-local address.
Known-good: the neighbour is listed on both routers and reaches Full, and the interface settings agree on both ends.
Verification & troubleshooting
1. show ospfv3 neighbor → is the neighbour listed, and in which state?
2. show ospfv3 interface <interface> → OSPFv3 enabled, area, instance ID, timers, network type.
3. show ipv6 interface brief → the interface has a link-local address and is up.
4. Compare step 2 with the other router.
5. ping FE80::<neighbour>%<interface> or ping ipv6 <link-local> with the interface specified, to test the link itself.
Observation → implication → next check
Failure signatures and troubleshooting branches
- No neighbour. OSPFv3 is not enabled on one interface, IPv6 is not enabled on it, or area, timers or instance ID differ.
- Stuck in ExStart or Exchange. MTU mismatch.
- The neighbour is Full but the routes do not work. The global prefixes on the two ends do not match; OSPFv3 does not check them.
- Checked with
show ip ospf neighborand found nothing. That is the OSPFv2 command. - A neighbour is rejected with everything matching. Duplicate router ID.
When the problem is really fixed
- The neighbour is listed on both routers and is Full.
- Area, timers, instance ID and MTU agree.
- The global prefixes on the link agree as well.
- Routes learned from the neighbour are installed.
Common mistakes
- Using IPv4 OSPF commands to check OSPFv3 neighbours.
- Mismatched instance IDs on a link.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show ospfv3 neighbor(orshow ipv6 ospf neighbor) — neighbours and state.show ospfv3 interface brief(orshow 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 neighbours are routers on the same link that exchange OSPFv3 Hellos. They find each other through multicast and talk to each other from their link-local addresses; the global IPv6 prefixes on the link play no part in forming the relationship.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Because neighbours are formed over link-local addresses, a link with wrong or missing global addresses can still show a healthy neighbour — and a link with correct global addresses can show none if IPv6 itself is not enabled on the interface. The parameter that most often blocks OSPFv3 neighbours and has no OSPFv2 equivalent is the instance ID.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Neighbors — An OSPFv3 neighbor is scoped by interface, address family/instance and router ID; link-local next-hop identity is normal and must not be confused with the advertised prefixes. The neighbor finite-state machine owns adjacency progress, while the LSDB and RIB are downstream consumers. FULL adjacency does not by itself show route installation or forwarding.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key points
- Hellos are sent from the link-local address to FF02::5.
- Must match: area, hello and dead intervals, area type (stub/NSSA), instance ID, and authentication if used.
- Must differ: router ID.
- The subnet does not have to match — the Hello carries no prefix or mask.
- The interface needs IPv6 enabled (a link-local address) and OSPFv3 enabled on it.
- MTU must match for the adjacency to complete, as in OSPFv2.
- Neighbours are listed by router ID; their address is a link-local address.
In depth
OSPFv3 neighbours are identified on the link by link-local addresses
RFC 5340 states that on all link types except virtual links, OSPFv3 neighbour addresses are IPv6 link-local addresses. Routers learn each neighbour's link-local address and use it as the next hop. OSPFv3 also runs per link rather than per subnet, so two routers on a link become neighbours even if their global prefixes differ.
R1# show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
10.0.0.2 0 FULL/ - 00:00:35 17 TenGigabitEthernet1/1/1
10.0.0.3 1 FULL/BDR 00:00:31 52 Vlan10
R1# show ipv6 ospf neighbor detail | include Neighbor|link-local|In the area
Neighbor 10.0.0.2
In the area 0 via interface TenGigabitEthernet1/1/1
Neighbor: interface-id 17, link-local address FE80::A6BB:6DFF:FE11:2201
R1# show ipv6 interface TenGigabitEthernet1/1/1 | include link-local|FF02::5
IPv6 is enabled, link-local address is FE80::A6BB:6DFF:FE11:2101
FF02::5
What differs from OSPFv2 neighbours
| OSPFv2 | OSPFv3 | |
|---|---|---|
| Neighbour address | Interface IPv4 address | Link-local IPv6 address |
| Subnet check | Network mask must match (broadcast) | No: per-link, not per-subnet |
| Several instances on one link | No | Instance ID in the packet header (RFC 5340) |
| Authentication | In the OSPF header | Removed; IPv6 AH/ESP, or the newer authentication trailer |
| Hello destination | 224.0.0.5 | FF02::5 |
Neighbour states (Down, Init, 2-Way, ExStart, Exchange, Loading, Full) and DR/BDR election are the same as in OSPFv2.
Instance ID
RFC 5340 states that the instance ID only affects which OSPF packets are accepted. Two routers form a neighbour relationship only if their interfaces use the same instance ID. With address families, IOS XE uses different instance ID ranges for IPv6 and IPv4.
Troubleshooting
| Symptom | Check |
|---|---|
| No neighbour | IPv6 enabled on the interface; area, timers and instance ID match; ACLs allow FF02::5 |
| Stuck in EXSTART | IPv6 MTU mismatch |
| Routes installed with an unexpected next hop | It's the neighbour's link-local address: normal for OSPFv3 |
Documented example, not captured output.
Quick reference
OSPFv3 neighbors discover each other with Hellos sent from link-local addresses to ff02::5. They must match area, Hello/Dead timers, area type flags and instance ID; unlike OSPFv2, the global subnets on the interfaces do not have to match.
show ospfv3 neighbor
show ospfv3 interface Gi0/1
Documented example, not captured output.
If neighbors do not form, check that IPv6 is enabled on the interface (a link-local address exists) and that ICMPv6/OSPF are not filtered.
Mechanics and state ownership
The sequence is the one known from OSPFv2 — Hello, 2-Way, database exchange, Full — with the transport changed. Hellos leave from the interface's link-local address, so nothing else about IPv6 addressing has to be right for neighbours to appear.
The Hello no longer contains a subnet mask, so two routers with different global prefixes on the same link still become neighbours. The routes may then be useless, but OSPFv3 will not flag it.
The OSPFv3 header adds an instance ID. It allows several separate OSPFv3 instances to share one link, each forming neighbours only with routers using the same value. The default is 0 for IPv6, so it only matters when someone has changed it on one side — or when address families are in use, where each family uses its own instance range.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → OSPF → OSPFv3 → Neighbors. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc5340.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Neighbors operational reference
Topic-specific bounded interpretation: known-good protocol state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Neighbors | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches OSPFv3 neighbor discovery and adjacency state over IPv6 link-local communication, including parameter compatibility and network-type-dependent expectations design | Policy, area, family or metric input differs | Compare effective configuration |
| Protocol state | Stable expected adjacency/database/topology decision | neighbors stuck in Init/ExStart/Exchange, no neighbor because interface or area activation differs, expected Full adjacency missing because of MTU or parameter mismatch, a normal DROTHER 2-Way state misclassified as failure, or healthy neighbors being treated as proof of application reachability | Inspect peer/LSDB/topology detail |
| Route/forwarding | Expected RIB/FIB next hop or multipath set | Protocol state exists but route/path disagrees | RIB/FIB/CEF and next-hop proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or state was forced | Regression test |