CLI Reference Guide-R01

Table Of Contents
Chapter 30
| IP Interface Commands
IPv6 Interface
– 823 –
ipv6 address
autoconfig
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 switchs
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 a global unicast address (if a global prefix is included
in received router advertisements) and a link local address for the interface.
(The link-local address is made with an address prefix of FE80 and a host
portion based the switch’s MAC address in modified EUI-64 format.)
If a duplicate address is detected, a warning message is sent to the console.
When DHCPv6 is restarted, the switch may attempt to acquire an IP address
prefix through stateful address autoconfiguration. If the router advertisements
have the “other stateful configuration” flag set, the switch may also attempt to
acquire other non-address configuration information (such as a default
gateway) from a DHCPv6 server when DHCPv6 is restarted.
Example
This example assigns a dynamic global unicast address of to the switch.
Console(config-if)#ipv6 address autoconfig
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is stale
Link-local address:
fe80::7272:cfff:fe83:3466%1/64
Global unicast address(es):
(None)
Joined group address(es):
ff02::1:ffbc:4ffa
ff02::1:2
ff02::1
IPv6 link MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 3.
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised router lifetime is 1800 seconds