User Manual
7.3 Neighbor cache
7.3.1 Set static neighbor cache entry
[Syntax]
ipv6 neighbor ipv6_address interface mac_address
no ipv6 neighbor ipv6_address interface
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
interface : vlan0.N
VLAN interface name
mac_address : HHHH.HHHH.HHHH
MAC address
[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.
[Example]
Add the MAC address of the IPv6 address 2001:db8:cafe::1 on VLAN #1 to the Neighbor cache.
SWP1(config)#ipv6 neighbor 2001:db8:cafe::1 vlan0.1 00a0.de80.cafe
7.3.2 Show neighbor cache table
[Syntax]
show ipv6 neighbors
[Input mode]
unprivileged EXEC mode、priviledged EXEC mode
[Description]
Shows the neighbor cache table.
[Example]
Shows the neighbor cache table.
SWP1>show ipv neighbors
IPv6 Address MAC Address Interface Type
2001:db8:1:0:3538:5dc7:6bc4:1a23 0011.2233.4455 vlan0.1 dynamic
2001:db8:cafe::1 00a0.de80.cafe vlan0.1 static
fe80::0211:22ff:fe33:4455 0011.2233.4455 vlan0.1 dynamic
fe80::6477:88ff:fe99:aabb 6677.8899.aabb vlan0.1 dynamic
7.3.3 Clear neighbor cache table
[Syntax]
clear ipv6 neighbors
[Input mode]
priviledged EXEC mode
[Description]
Clears the neighbor cache.
[Example]
Clears the neighbor cache.
SWP1#clear ipv6 neighbors
70 | Command Reference | IPv6