IP Addressing Commands 231
Syntax
•
ipv6 neighbor
ipv6_addr hw_addr
{
ethernet
interface-number
|
vlan
vlan-id
|
port-channel
number
}
•
no ipv6 neighbor
ipv6_addr
{
ethernet
interface-number
|
vlan
vlan-id
|
port-channel
number
}
–
ipv6_addr
— IPv6 address to map to the specified MAC address.
–
hw_addr
— MAC address to map to the specified IPv6 address.
–
ethernet
interface-number
— Valid port number.
–
vlan
vlan-id
— VLAN number.
–
port-channel
number
— Port channel number.
Default Configuration
This command has no default setting.
Command Mode
Global Configuration mode.
User Guidelines
• The
ipv6 neighbor
command is similar to the
arp
(global) command.
• If an entry for the specified IPv6 address already exists in the neighbor discovery cache, learned
through the IPv6 neighbor discovery process, the entry is automatically converted to a static entry.
• Use the
show ipv6 neighbors
command to view static entries in the IPv6 neighbor discovery cache.
Example
The following example configures a static entry in the IPv6 neighbor discovery cache.
ipv6 set mtu
The ipv6 mtu
Privileged EXEC
mode command sets the Maximum Transmission Unit (MTU) size of
IPv6 packets sent on an interface. Use the default parameter to restore the default MTU size.
Console (config)# ipv6 neighbor ff02::78 00:02:85:0E:1C:00
ethernet g1 vlan 1 port-channel 1
5400_CLI.book Page 231 Wednesday, December 17, 2008 4:33 PM