Chapter 27
| IP Interface Commands
IPv6 Interface
– 687 –
clear ipv6 neighbors
This command deletes all dynamic entries in the IPv6 neighbor discovery cache.
Command Mode
Privileged Exec
Example
The following deletes all dynamic entries in the IPv6 neighbor cache:
Console#clear ipv6 neighbors
Console#
show ipv6 neighbors
This command displays information in the IPv6 neighbor discovery cache.
Syntax
show ipv6 neighbors
[
vlan
vlan-id | ipv6-address]
vlan-id - VLAN ID (Range: 1-4094)
ipv6-address - The IPv6 address of a neighbor device. You can specify either
a link-local or global unicast address formatted according to RFC 2373 “IPv6
Addressing Architecture,” using 8 colon-separated 16-bit hexadecimal
values. One double colon may be used in the address to indicate the
appropriate number of zeros required to fill the undefined fields.
Default Setting
All IPv6 neighbor discovery cache entries are displayed.
Command Mode
Privileged Exec
Example
The following shows all known IPv6 neighbors for this switch:
Console#show ipv6 neighbors
State: I1 - Incomplete, I2 - Invalid, R - Reachable, S - Stale, D - Delay,
P1 - Probe, P2 - Permanent, U - Unknown
IPv6 Address Age Link-layer Addr State Interface
--------------------------------------- ---- ----------------- ----- ---------
FE80::2E0:CFF:FE9C:CA10 4 00-E0-0C-9C-CA-10 R 1
Console#
Table 143: show ipv6 neighbors - display description
Field Description
IPv6 Address IPv6 address of neighbor
Age The time since the address was verified as reachable (in seconds). A static entry is
indicated by the value “Permanent.”