Use it when enabling IPv6 on a router or Layer 3 switch, or when an interface has no IPv6 address or does not route.
Configuration · IPv6
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.
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.
ipv6 unicast-routing → address configured on the interface → interface up → link-local formed → connected and local routes installed → RAs sent to hosts
Verify IPv6 neighbors and the exact route/FIB for the destination.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipv6 unicast-routingPrimary Commands
Configuration and operational commands for this Topic.
ipv6 unicast-routingReferenceEnable IPv6 unicast routing so the router forwards IPv6 and sends router advertisements.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedipv6 enableReferenceEnable IPv6 on the interface and create a link-local address.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedipv6 address <prefix>/<length>ReferenceAssign a static IPv6 address and prefix length.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedipv6 address <prefix>/<length> eui-64ReferenceAssign an IPv6 address using the prefix plus an EUI-64 interface identifier.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedipv6 address autoconfigReferenceGet an IPv6 address on the interface through SLAAC.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ipv6 interfaceShowDisplay IPv6 addresses and settings per interface.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedshow ipv6 interface briefShowQuick IPv6 interface/address overview.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
IOS/IOS XE · mixedshow ipv6 neighborsShowInspect IPv6 neighbor cache state and L2 mappings.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Cisco IOS XE · mixedshow ipv6 routeShowDisplay the IPv6 routing table.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Cisco IOS / IOS XE · mixedshow ipv6 interface <interface>ReferenceInspect IPv6 interface addresses, ND/RA timers, reachable/retrans timers and joined multicast groups.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS XE · mixedshow ipv6 interface [interface]ShowInspect IPv6 addressing, ND/RA and interface IPv6 state.
Cisco IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
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 addrandip -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
| Command | Effect |
|---|---|
ipv6 address <prefix>/<len> | Static global or unique local address |
ipv6 address <prefix>/64 eui-64 | Interface ID from the MAC |
ipv6 address fe80::1 link-local | Fixed link-local address |
ipv6 enable | Link-local only (enough for some routed links) |
ipv6 address autoconfig | SLAAC on the interface (host behaviour) |
ipv6 address dhcp | DHCPv6 client |
Router advertisement settings
| Command | Effect |
|---|---|
ipv6 nd ra suppress all | No RAs (on routed links and uplinks) |
ipv6 nd managed-config-flag | M flag: hosts use DHCPv6 for addresses |
ipv6 nd other-config-flag | O flag: hosts use DHCPv6 for other settings |
ipv6 nd prefix <prefix> no-autoconfig | Clear 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.
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.
| Check | Command |
|---|---|
| Addresses | show ipv6 interface brief |
| Routes | show ipv6 route |
| Neighbors | show ipv6 neighbors |
Without ipv6 unicast-routing the device acts as a host and does not send Router Advertisements or route IPv6.
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
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 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%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%Quick lookup tables
Configuration · operational reference
Compact state and interpretation boundaries for fast lookup.
| IPv6 layer | Canonical check | Interpretation |
|---|---|---|
| Interface/address | show ipv6 interface brief | Addressing and interface presence |
| ND/link neighbor | show ipv6 neighbors | Local next-hop resolution state |
| Interface policy | show ipv6 interface | RA/ND/link-local details |
| Routing | show ipv6 route | Installed prefix and next-hop choice |