Configuring an IPv6 static neighbor address
You can use static IPv6 neighbors to manually specify the link-layer address for a given IPv6 endpoint.
About this task
Under normal operation you do not need to configure static IPv6 neighbors.
avoid the overhead associated with dynamic neighbor discovery protocol traffic
help troubleshoot specific network scenarios
Note
-
IPv6 static neighbors are not supported on SMLT.
-
When you add or remove IPv6 static neighbors that point to a nexthop router, make sure that you have disabled the IPv6 interface.
Not all parameters are available in non-default VRFs.
Procedure
Example
Add an IPv6 neighbor for a brouter port:
Switch:1(config)#ipv6 neighbor 3000:0:0:0:0:0:0:2 port 1/11 mac 00:0c:42:07:35:90
Add an IPv6 neighbor for a VLAN:
Switch:1(config)#ipv6 neighbor 3000::3 port 1/12 mac 01:02:03:04:05:06 vlan 20
Variable definitions
Use the data in the following table to use the ipv6 commands in this procedure.
Variable |
Value |
---|---|
forwarding |
Configures whether this entity is an IPv6 router with respect to the forwarding of datagrams received by, but not addressed to, this entity. Enable forwarding to act as a router. The default is enabled. |
hop-limit <0–255> |
Configures the hop limit. The default is 64. |
icmp addr-unreach |
Enables ICMP address unreachable messages. The default is enabled. |
icmp echo-multicast-request |
Enable response to icmp echo multicast packets. The default is enable. |
icmp error interval <1–2147483647> |
Configures the interval (in milliseconds) for sending ICMPv6 error messages. The default is 1000. |
icmp error-quota <0-2000000> |
Configures the number of ICMP error messages that can be sent during the ICMP error interval. A value of zero instructs the system not to send an ICMP error messages. The default value is 50. |
icmp port-unreach |
Enables ICMP port unreachable messages. The default is enabled. |
icmp unreach-msg |
Enables ICMP network unreachable messages. The default is disabled. |
neighbor WORD<0-128> port {slot/port[sub-port]} mac <0x00:0x00:0x00:0x00:0x00:0x00> [vlan <1-4059> ] |
Creates a static IPv6 neighbor with the following variables:
Static IPv6 neighbors do not maintain any state machine and the system assumes that they are always reachable. |