Related Commands
interface (27-1)
ping ipv6 (41-25)
ipv6 enable
This command enables IPv6 on an interface that has not been configured with an
explicit IPv6 address. Use the no form to disable IPv6 on an interface that has not
been configured with an explicit IPv6 address.
Syntax
[no] ipv6 enable
Default Setting
IPv6 is disabled
Command Mode
Interface Configuration (VLAN)
Command Usage
• This command enables IPv6 on the current VLAN interface and automatically
generates a link-local unicast address. The address prefix uses FE80, and the
host portion of the address is generated by converting the router’s MAC
address to modified EUI-64 format (see page 41-12). This address type
makes the router accessible over IPv6 for all devices attached to the same
local subnet.
• If a duplicate address is detected on the local segment, this interface will be
disabled and a warning message displayed on the console.
• The
no ipv6 enable
command does not disable IPv6 for an interface that has
been explicitly configured with an IPv6 address.
Example
In this example, IPv6 is enabled on VLAN 1, and the link-local address
FE80::200:E8FF:FE90:0/64 is automatically generated by the router.
Console(config)#interface vlan 1
Console(config-if)#ipv6 enable
Console(config-if)#end
Console#show ipv6 interface
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::200:E8FF:FE90:0/64
Global unicast address(es):
Joined group address(es):
FF01::1/16
FF02::1/16
FF02::1:FF90:0/104
MTU is 1500 bytes.
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
Console#
41-7
Basic IP Configuration
41