User Manual

7.8 Neighbor cache
7.8.1 Set static neighbor cache entry
[Syntax]
ipv6 neighbor ipv6_address interface mac_address interface
no ipv6 neighbor ipv6_address interface
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
interface : vlanN
VLAN interface name
mac_address : HHHH.HHHH.HHHH
MAC address
interface : portN.M
Physical interface name
[Input mode]
global configuration mode
[Description]
Adds a static entry to the neighbor cache.
If this command is executed with the "no" syntax, the specified static entry is deleted.
[Note]
[Example]
Set the MAC address of IPv6 2001:db8:cafe::1 located at port1.1 of VLAN #1, in the Neighbor cache.
SWR2311P(config)#ipv6 neighbor 2001:db8:cafe::1 vlan1 00a0.de80.cafe port1.1
7.8.2 Show neighbor cache table
[Syntax]
show ipv6 neighbors
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the neighbor cache table.
[Note]
[Example]
Show the neighbor cache table.
SWR2311P>show ipv neighbors
IPv6 Address MAC Address Interface Type
2001:db8:1:0:3538:5dc7:6bc4:1a23 0011.2233.4455 vlan1 dynamic
2001:db8:cafe::1 00a0.de80.cafe vlan1 static
fe80::0211:22ff:fe33:4455 0011.2233.4455 vlan1 dynamic
fe80::6477:88ff:fe99:aabb 6677.8899.aabb vlan1 dynamic
7.8.3 Clear neighbor cache table
[Syntax]
clear ipv6 neighbors
[Input mode]
priviledged EXEC mode
Command Reference | Layer 3 functions | 217