Configuration
Cheat sheet · https://pcornel.dk/topic.php?topic=572
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.
Remember
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.
First 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 addrandip -6 route(Linux).
Commands
show ipv6 interface brief- Quick IPv6 interface/address overview.
ipv6 unicast-routing- Enable IPv6 unicast routing so the router forwards IPv6 and sends router advertisements.
ipv6 enable- Enable IPv6 on the interface and create a link-local address.
ipv6 address <prefix>/<length>- Assign a static IPv6 address and prefix length.
ipv6 address <prefix>/<length> eui-64- Assign an IPv6 address using the prefix plus an EUI-64 interface identifier.
ipv6 address autoconfig- Get an IPv6 address on the interface through SLAAC.
show ipv6 interface- Display IPv6 addresses and settings per interface.
show ipv6 route- Display the IPv6 routing table.
show ipv6 interface [interface]- Inspect IPv6 addressing, ND/RA and interface IPv6 state.
show ipv6 neighbors- Inspect IPv6 neighbor cache state and L2 mappings.
show ipv6 interface <interface>- Inspect IPv6 interface addresses, ND/RA timers, reachable/retrans timers and joined multicast groups.
show sdm preferping ipv6
Verify in this order
ipv6 unicast-routing → address configured on the interface → interface up → link-local formed → connected and local routes installed → RAs sent to hosts
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=572