CLI Reference Guide-R04

Table Of Contents
Chapter 31
| IP Interface Commands
IPv6 Interface
– 926 –
Neighbor Discovery
ipv6 hop-limit This command configures the maximum number of hops used in router
advertisements that are originated by this router. Use the no form to restore the
default setting.
Syntax
ipv6 hop-limit hops
no ipv6 hop-limit
hops - The maximum number of hops in router advertisements and all IPv6
packets. (Range: 1-255)
Default Setting
1
Command Mode
Global Configuration
Example
The following sets the hop limit for router advertisements to 64:
Console(config)#ipv6 hop-limit 64
Console(config)#
ipv6 neighbor This command configures a static entry in the IPv6 neighbor discovery cache. Use
the no form to remove a static entry from the cache.
Syntax
ipv6 neighbor ipv6-address vlan vlan-id hardware-address
no ipv6 mtu
ipv6-address - The IPv6 address of a neighbor device that can be reached
through one of the network interfaces configured on this switch. 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.
vlan-id - VLAN ID (Range: 1-4093)
hardware-address - The 48-bit MAC layer address for the neighbor device.
This address must be formatted as six hexadecimal pairs separated by
hyphens.