C613-50170-01 Rev B
Command Reference for x510 Series
840
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
6 C
OMMANDS
IPV
6
ADDRESS
ipv6 address
Overview
Use this command to set the IPv6 address of an interface. The command also
enables IPv6 on the interface, which creates an EUI-64 link-local address as well as
enabling RA processing and SLAAC.
To stop the device from processing prefix information (routes and addresses from
the received Router Advertisements) use the command
no ipv6 nd
accept-ra-pinfo
.
To remove the EUI-64 link-local address, use the command
no ipv6
eui64-linklocal
.
Use the
no
variant of this command to remove the IPv6 address assigned and
disable IPv6. Note that if no global addresses are left after removing the IPv6
address then IPv6 is disabled.
Syntax
ipv6 address
<ipv6-addr/prefix-length>
no ipv6 address
<ipv6-addr/prefix-length>
Mode
Interface Configuration for a VLAN interface.
Usage
Note that link-local addresses are retained in the system until they are negated by
using the
no
variant of the command that established them. See the
command for more information.
Also note that the link-local address is retained in the system if the global address
is removed using another command, which was not used to establish the link-local
address. For example, if a link local address is established with the
command then it will not be removed using a
no ipv6 address
command.
Examples
To assign the IPv6 address 2001:0db8::a2/64 to the VLAN interface vlan2, use the
following commands:
awplus#
configure terminal
awplus(config)#
interface vlan2
awplus(config-if)#
ipv6 address 2001:0db8::a2/64
Parameter
Description
<
ipv6-addr/prefix-
length
>
Specifies the IPv6 address to be set. The IPv6
address uses the format X:X::X:X/Prefix-Length. The
prefix-length is usually set between 0 and 64.
Note that your switch will not accept prefix lengths
greater than 64.