Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Configuration · IPv6

Direct answer

IPv6 configuration on IOS needs ipv6 unicast-routing to route, then ipv6 address <prefix>/<len> (or eui-64/autoconfig) on interfaces; every interface also gets a link-local address used by routing protocols.

When to use this

Use it when enabling IPv6 on a router or Layer 3 switch, or when an interface has no IPv6 address or does not route.

First 30 seconds

1. show running-config | include ipv6 unicast-routing — enabled?

2. show ipv6 interface brief — global and link-local address on the interface?

3. show ipv6 interface <if> — prefix length /64, RAs being sent?

4. Ping a neighbour's link-local: ping ipv6 fe80::2 (prompts for the interface).

5. show ipv6 route — connected (C) and local (L) routes present.

Operational verification

ipv6 unicast-routing → address configured on the interface → interface up → link-local formed → connected and local routes installed → RAs sent to hosts

Evidence · next step

Verify IPv6 neighbors and the exact route/FIB for the destination.

Continue only after interpreting the current observation.
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 commandipv6 unicast-routing
Scope / prerequisiteUse it when enabling IPv6 on a router or Layer 3 switch, or when an interface has no IPv6 address or does not route.
Show · 5Reference · 6
What next?3 suggested next steps
Catalog command links11
Evidence1
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.

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

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Known-good, broken and proof-boundary verification Verify boundary

Known-good IPv6 state includes the expected link-local/global addresses, interface up/up, appropriate connected/default/specific routes, healthy NDP for an adjacent peer and success of the original IPv6 workload. Broken state includes duplicate-address detection failure, wrong prefix length, missing RA/default route, stale/incomplete neighbor state or route-policy mismatch. Read back addresses, NDP and the route chosen for the exact destination. An IPv6 address alone does not show default-router, DNS, transport or application health; closure requires the same original IPv6 request after remediation.

Step 2 Verification and output interpretation Verify boundary

Use show ipv6 interface brief for interface/address presence, then show ipv6 interface for link-local address, enabled state, multicast memberships, ND/RA parameters and interface-specific details. show ipv6 neighbors exposes Neighbor Discovery cache state and the Layer 2 address/interface associated with known neighbors. show ipv6 route shows what prefixes are installed and which next hop/interface will be selected. Read these outputs together: an assigned global address does not show that IPv6 forwarding is enabled, a neighbor entry does not show that a route exists for a remote prefix, and a route does not show that the selected next hop is currently reachable. For host-facing segments, compare the configured prefix and RA behavior with the address/default-route state actually observed on clients rather than assuming SLAAC or DHCPv6 behavior from one router command alone.

Step 3 Step-by-step troubleshooting Narrow the fault

Boundary rule: Valid configuration syntax does not show operational adjacency, route selection or return-path reachability.

Step 4 Failure isolation: observation → implication → next check Narrow the fault

If no IPv6 address exists, inspect interface configuration and whether autoconfiguration or explicit addressing is intended. If only link-local exists, verify expected prefix source and RA behavior. If addresses are correct but a neighbor is unreachable, inspect NDP and L2/VLAN state. If the neighbor resolves but remote prefixes fail, inspect IPv6 routes, first-hop policy and return path. If one address family works while IPv6 fails, keep the investigation IPv6-specific instead of changing shared physical state without evidence.

Evidence references

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.

other · 1
Command lookup Jump straight to Cisco syntax
Key points

ipv6 unicast-routing enables routing and RAs. ipv6 address 2001:db8:1:1::1/64 sets a global address; ipv6 address fe80::1 link-local sets a readable link-local; ipv6 enable gives only a link-local. On Catalyst switches an SDM template supporting IPv6 may be needed. Routing protocols use link-local addresses as next hops.

Key checks
  • show ipv6 interface brief — IPv6 addresses (link-local and global) per interface.
  • show ipv6 interface <if> — addresses, joined multicast groups, ND and RA settings.
  • show ipv6 neighbors — neighbour cache: IPv6-to-MAC entries and state (REACH, STALE, INCMP).
  • show ipv6 route <prefix> — route and next hop (often a link-local address plus interface).
  • ping ipv6 <addr> / traceroute ipv6 <addr> — reachability and path.
  • Host: ipconfig (Windows) / ip -6 addr and ip -6 route (Linux).
ReferenceHow it works1 section · depth on demand

Mechanics, state owner and dependency boundary

IPv6 interface state combines link-local addressing, optional global/ULA prefixes, Neighbor Discovery and route installation. The device can have a valid link-local address while global reachability is broken, and Router Advertisement or DHCPv6 behavior can affect hosts without changing the router interface itself. Interface administrative/line state, prefix assignment, NDP neighbor state and IPv6 RIB/FIB are separate owners; verify each with the exact interface and VRF rather than inferring IPv6 health from IPv4.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Configuring IPv6 on Cisco IOS XE

Cisco's IOS XE IPv6 static routing guide lists the prerequisites for routing IPv6: enable forwarding with ipv6 unicast-routing, enable IPv6 on at least one interface, and assign an IPv6 address. Without ipv6 unicast-routing, the device acts as an IPv6 host and doesn't forward or send router advertisements.

R1(config)# ipv6 unicast-routing
R1(config)# interface Vlan20
R1(config-if)# ipv6 address 2001:db8:20::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 nd other-config-flag
R1(config-if)# ipv6 dhcp server STATELESS-POOL
R1(config)# interface TenGigabitEthernet1/1/1
R1(config-if)# ipv6 address 2001:db8:ff00::/127
R1(config-if)# ipv6 nd ra suppress all
R1(config)# ipv6 route ::/0 TenGigabitEthernet1/1/1 fe80::2
R1# show ipv6 interface Vlan20
Vlan20 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::A6BB:6DFF:FE33:4444
  No Virtual link-local address(es):
  Global unicast address(es):
    2001:DB8:20::1, subnet is 2001:DB8:20::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:1
    FF02::1:FF33:4444
  MTU is 1500 bytes
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 30000)
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.

Interface options

CommandEffect
ipv6 address <prefix>/<len>Static global or unique local address
ipv6 address <prefix>/64 eui-64Interface ID from the MAC
ipv6 address fe80::1 link-localFixed link-local address
ipv6 enableLink-local only (enough for some routed links)
ipv6 address autoconfigSLAAC on the interface (host behaviour)
ipv6 address dhcpDHCPv6 client

Router advertisement settings

CommandEffect
ipv6 nd ra suppress allNo RAs (on routed links and uplinks)
ipv6 nd managed-config-flagM flag: hosts use DHCPv6 for addresses
ipv6 nd other-config-flagO flag: hosts use DHCPv6 for other settings
ipv6 nd prefix <prefix> no-autoconfigClear the A flag for a prefix

On Catalyst switches

An IPv6-enabled SDM template is needed for IPv6 forwarding and features on some platforms; check show sdm prefer. Dynamic routing for IPv6 (OSPFv3, EIGRP for IPv6) follows the same licensing as IPv4.

Checks

show ipv6 interface brief, show ipv6 route, show ipv6 neighbors and ping ipv6 cover addressing, routing and neighbour resolution.

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.

Quick reference

IPv6 configuration on Cisco IOS XE requires enabling IPv6 routing globally, then assigning addresses to interfaces. Each interface also gets a link-local address automatically.

ipv6 unicast-routing
interface Gi0/1
 ipv6 address 2001:db8:10::1/64
 ipv6 address fe80::1 link-local
interface Vlan20
 ipv6 address 2001:db8:20::1/64
 ipv6 nd ra interval 30

Documented example, not captured output.

CheckCommand
Addressesshow ipv6 interface brief
Routesshow ipv6 route
Neighborsshow ipv6 neighbors

Without ipv6 unicast-routing the device acts as a host and does not send Router Advertisements or route IPv6.

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

IPv6 separates several functions that IPv4 administrators often mentally combine. A link-local address provides same-link identity and is fundamental to Neighbor Discovery and many routing-protocol adjacencies; global or unique-local addresses provide scoped unicast reachability; multicast replaces broadcast for neighbor and control signaling. Neighbor Discovery uses ICMPv6 messages for address resolution, router discovery, prefix discovery, duplicate-address detection and reachability information. On a router, ipv6 unicast-routing enables IPv6 packet forwarding and changes router-advertisement behavior on enabled interfaces. Hosts can form addresses through SLAAC, DHCPv6 or static configuration depending on advertised flags and design. A route lookup still selects the next hop, but next-hop resolution uses Neighbor Discovery rather than ARP, often with a link-local next-hop address even when the routed destination is globally scoped.

Limits and common misconceptions

IPv6 is not simply IPv4 with longer addresses. There is no ARP broadcast; Neighbor Discovery depends on ICMPv6, so broad ICMPv6 filtering can break basic network operation. A global IPv6 address on an interface does not show that the device routes IPv6, and ipv6 unicast-routing does not automatically show that upstream routes, return paths or security policy are correct. Link-local addresses are not “invalid private addresses”; they are intentionally non-routed and central to local control-plane operation. SLAAC and DHCPv6 are not mutually exclusive in every design, and receiving an address does not necessarily mean a host received all desired parameters through the same mechanism. Keep interface address state, ND state, routing state, RA/DHCP policy and end-to-end service as separate evidence layers.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Build IPv6 configuration from the forwarding role outward. On a router, enable unicast routing intentionally, assign interface prefixes with clear /64 conventions where appropriate, and preserve stable link-local behavior when routing protocols or operational procedures depend on it. Decide whether addresses are static, SLAAC-derived, DHCPv6-provided or a combination; these mechanisms solve different parts of address and parameter provisioning. Treat router advertisements as control-plane policy rather than background noise: advertised prefixes, lifetimes and flags influence host behavior. Avoid copying IPv4 assumptions such as broadcast-based discovery or expecting a single “gateway address” to appear in every route. When static IPv6 routes use a link-local next hop, the outgoing interface may also be required because the same link-local address can legitimately exist on different links.

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 8200

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → Configuration. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
2026-09-13 · vendor docCisco IOS XE 17.x 17.x

Official Cisco vendor documentation reviewed for bounded reference claims: IPv6 addressing, interface configuration and basic connectivity. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.

Basis: https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/ip-addressing/b-ip-addressing/m_ip6-add-basic-conn-xe.html · confidence 94%
Embedded reference data

Quick lookup tables

Configuration · operational reference

Compact state and interpretation boundaries for fast lookup.

IPv6 layerCanonical checkInterpretation
Interface/addressshow ipv6 interface briefAddressing and interface presence
ND/link neighborshow ipv6 neighborsLocal next-hop resolution state
Interface policyshow ipv6 interfaceRA/ND/link-local details
Routingshow ipv6 routeInstalled prefix and next-hop choice
Confirmation

Confirm action

Continue?