177
the IPv6 default-gateway address.
Parameter: <ipv6-address> is default-gateway IPv6 address.
Command Mode: Global configuration mode
Default: The system default is no IPv6 address configuration.
Usage Guide: The IPv6 address of default-gateway and the IPv6 address of layer 3
interface in the same segment to make sense for default-gateway.
Example: The IPv6 address of layer 3 interface is 2002:10::2/64, set the IPv6 address of
default-gateway is 2002:10::1.
Switch(config)#ipv6 default-gateway 2002:10::1
15.2.6 ipv6 address
Command: ipv6 address <ipv6-address|prefix-length> [eui-64]
no ipv6 address <ipv6-address|prefix-length> [eui-64]
Function: Configure aggregately global unicast address, site-local address and link-local
address for the interface.
Parameter: Parameter <ipv6-address> is the prefix of IPv6 address, parameter
<prefix-length> is the prefix length of IPv6 address, which is between 3-128, eui-64
means IPv6 address is generated automatically based on eui64 interface identifier of the
interface.
Command Mode: Interface Configuration Mode.
Default: None.
Usage Guide: IPv6 address prefix can not be multicast address or any other specific IPv6
address, and different layer 3 interfaces can not configure the same address prefix. For
global unicast address, the prefix must be in the range from 2000:: to 3fff::, and the length
of the prefix must be greater than or equal to 3. For site-local address and link-local
address, the length of the prefix must be greater than or equal to 3.
Example: Configure an IPv6 address on VLAN1 Layer 3 interface: the prefix is
2001:3f:ed8::99 and the length of the prefix is 64.
Switch(Config-if-Vlan1)#ipv6 address 2001:3f:ed8::99/64
15.2.7 ipv6 nd dad attempts
Command: ipv6 nd dad attempts <value>
no ipv6 nd dad attempts
Function: Set Neighbor Solicitation Message number sent in succession by interface
when setting Duplicate Address Detection.
Parameter: <value> is the Neighbor Solicitation Message number sent in succession by