Chapter 26
| IP Interface Commands
Interface Address Configuration and Utilities
ipv6 address
autoconfig
◆
If a duplicate address is detected, a warning message is sent to the console.
Example
This example specifies a full IPv6 address and prefix length.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address 2001:DB8:2222:7272::72/96
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is enabled
Link-Local Address:
FE80::B60E:DCFF:FE34:E63C/64
Global Unicast Address(es):
2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96
Joined Group Address(es):
FF02::1:FF00:72
FF02::1:FF34:E63C
FF02::1
IPv6 link MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 3
ND retransmit interval is 1000 milliseconds
ND reachable time is 30000 milliseconds
Console#
Related Commands
ipv6 address eui-64 (660)
ipv6 address autoconfig (658)
show ipv6 interface (665)
ip address (646)
This command enables stateless autoconfiguration of IPv6 addresses on an
interface and enables IPv6 on the interface. The network portion of the address is
based on prefixes received in IPv6 router advertisement messages; the host portion
is based on the modified EUI-64 form of the interface identifier (i.e., the switch's
MAC address). Use the no form to remove the address generated by this command.
Syntax
[no] ipv6 address autoconfig
Default Setting
No IPv6 addresses are defined
Command Mode
Interface Configuration (VLAN)
Command Usage
◆
If a link local address has not yet been assigned to this interface, this command
will dynamically generate one. The link-local address is made with an address
prefix in the range of FE80~FEBF and a host portion based the switch's MAC
– 658 –