Partager via


IPv6 nc (Compact 2013)

3/26/2014

The ipv6 nc (neighbor cache) command displays the contents of the neighbor cache.

Syntax

ipv6 nc [ifindex [address]]

Options

The following table describes each ipv6 nc option. These options are not case-sensitive.

Option

Description

ifindex

Indicates the index number of the interface whose neighbor cache is to be displayed. If you do not specify an interface, ipv6 nc displays the contents of all of the interface’s neighbor caches.

address

Indicates an IPv6 address to display the neighbor cache for. If you specify an interface, you can specify an IPv6 address, and display only the neighbor cache information for that address.

Remarks

The interface, IPv6 address, physical address, and neighbor type are displayed for each neighbor cache entry. For more information about the contents of the neighbor cache, see RFC 2461.

Example

The following example shows typical output from ipv6 nc when you do not specify an interface. In this example, ipv6 nc displays the neighbor cache for each interface.

\> ipv6 nc
Interface 2: PCI\RTL81391

Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
fe80::dc66:bd5b:db83:d794                     2c-41-38-ab-a1-4f  Stale (Router)
ff02::2                                       33-33-00-00-00-02  Permanent
ff02::16                                      33-33-00-00-00-16  Permanent
ff02::1:2                                     33-33-00-01-00-02  Permanent
ff02::1:ff97:9dd6                             33-33-ff-97-9d-d6  Permanent

Interface 1: Loopback Pseudo-Interface 1

Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
ff02::16                                                         Permanent
ff02::1:2                                                        Permanent

See Also

Reference

IPv6