6 ipv6 address – PLANET WGSW-50040 User Manual
Page 213

default-gateway address.
Parameter:
Default:
The system default is no IPv6 address configuration.
Command Mode:
Global configuration mode
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
12.2.6 ipv6 address
Command:
ipv6 address
no ipv6 address
Function:
Configure aggregately global unicast address, site-local address and link-local address for the
interface.
Parameter:
<ipv6-address> is the prefix of IPv6 address,
<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.
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: