BuildTheNet

Opening your workspace

Your learning content and tools are loading.

IPv6

show ipv6 route

Shows the IPv6 routing table: connected, local, static and dynamically learned prefixes and their next hops.

Written by a working field network engineer · CCNA, Security+, CySA+

The IPv6 routing table. It reads like the IPv4 one, with two differences that confuse people at first: every route is printed on two lines, and there is a local (L) /128 for each address and an FF00::/8 multicast entry.

Example output

R1#show ipv6 route
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:DB8:10::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   2001:DB8:10::1/128 [0/0]
     via GigabitEthernet0/0, receive
C   2001:DB8:12::/64 [0/0]
     via GigabitEthernet0/1, directly connected
L   2001:DB8:12::1/128 [0/0]
     via GigabitEthernet0/1, receive
S   2001:DB8:20::/64 [1/0]
     via 2001:DB8:12::2
L   FF00::/8 [0/0]
     via Null0, receive

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
C / LConnected prefix and the router’s own /128 address on it.
SStatic route, with [AD/metric] as in IPv4.
via 2001:DB8:12::2Next hop. A link-local next hop must also name the exit interface.
FF00::/8 via Null0The multicast range, installed automatically.

When it doesn’t look right

A static route with a link-local next hop is rejected.

Link-local addresses exist on every link, so name the interface too: ipv6 route 2001:db8:20::/64 Gi0/1 FE80::…

Only connected routes appear on a router with OSPFv3 configured.

Check that ipv6 unicast-routing is on, that the router has a router-id (OSPFv3 needs a 32-bit ID even on IPv6-only routers), and that ipv6 ospf <pid> area <id> is on each interface.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

IPv6 — Enable IPv6 routing, address interfaces with global, link-local and EUI-64 addresses, and add IPv6 static routes.

All 57 commands