show ipv6 cache

Displays IPv6 cache information.
Syntax
show ipv6 cache [ vrf vrf-nam ] [ index | ipv6-address | ipv6-prefix/prefix-length | resource | ethernet stack/slot/port | tunnel tunnel-id | ve ve-num]
Parameters
vrf vrf-name
Displays the IPv6 cache information for the specified Virtual Routing/Forwarding (VRF) instance.
index
Restricts the display to the entry for the specified index number and subsequent entries.
ipv6-address
Restricts the display to the entries for the specified IPv6 address. Specify this parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.
ipv6-prefix/prefix-length
Restricts the display to the entries for the specified IPv6 prefix. Specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. Specify the prefix-length parameter as a decimal value. A slash mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.
resource
Displays the number of entries in the cache.
ethernet stack/slot/port
Restricts the display to the entries for the specified Ethernet interface.
tunnel tunnel-id
restricts the display to the entries for the specified tunnel interface.
ve ve-num
restricts the display to the entries for the specified VE interface.
Modes

User EXEC mode

The show ipv6 cache command displays the following information:

Output field Description
Total number of cache entries The number of entries in the cache table.
IPv6 Address The host IPv6 address.
Next Hop The next hop, which can be one of the following:
  • Direct - The next hop is directly connected to the router.
  • Local - The next hop is originated on this router.
  • IPv6 address - The IPv6 address of the next hop.
Port The port on which the entry was learned.
Examples

The following example displays the IPv6 cache information.

device# show ipv6 cache
Total number of cache entries: 10
   IPv6 Address                   Next Hop         Port
1  2001:DB8::2                    LOCAL            tunnel 2
2  2001:DB8::106                  LOCAL            ethe 1/3/2
3  2001:DB8::110                  DIRECT           ethe 1/3/2
4  2001:DB8:46a::1                LOCAL            ethe 1/3/2
5  2001:DB8::2e0:52ff:fe99:9737   LOCAL            ethe 1/3/2
6  2001:DB8::ffff:ffff:feff:ffff  LOCAL            loopback 2
7  2001:DB8::c0a8:46a             LOCAL            tunnel 2
8  2001:DB8::c0a8:46a             LOCAL            tunnel 6
9  2001:DB8::1                    LOCAL            loopback 2
10 2001:DB8::2e0:52ff:fe99:9700   LOCAL            ethe 1/3/1