C613-50170-01 Rev B
Command Reference for x510 Series
844
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
6 C
OMMANDS
IPV
6
ENABLE
ipv6 enable
Overview
Use this command to enable automatic configuration of a link-local IPv6 address
on an interface using Stateless Automatic Address Configuration (SLAAC). By
default, the EUI-64 method is used to generate the link-local address.
Use the
no
variant of this command to disable IPv6 on an interface without a global
address. Note, to stop EUI-64 from generating the automatic link-local address, use
the command
no ipv6 eui64-linklocal
.
Syntax
ipv6 enable
no ipv6 enable
Mode
Interface Configuration for a VLAN interface.
Usage
The
ipv6 enable
command automatically configures an IPv6 link-local address on
the interface and enables the interface for IPv6 processing.
A link-local address is an IP (Internet Protocol) address that is only used for
communications in the local network, or for a point-to-point connection. Routing
does not forward packets with link-local addresses. IPv6 requires that a link-local
address is assigned to each interface that has the IPv6 protocol enabled, and when
addresses are assigned to interfaces for routing IPv6 packets.
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.
Also note that the link-local address is retained in the system if the global address
is removed using another command that 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.
Default
All interfaces default to IPv6-down with no address.
Examples
To enable IPv6 with only a link-local IPv6 address on the VLAN interface
vlan2
,
use the following commands:
awplus#
configure terminal
awplus(config)#
interface vlan2
awplus(config-if)#
ipv6 enable
To disable IPv6 with only a link-local IPv6 address on the VLAN interface
vlan2
,
use the following commands:
awplus#
configure terminal
awplus(config)#
interface vlan2
awplus(config-if)#
no ipv6 enable