CLI Reference Guide-R05

Table Of Contents
Chapter 28
| IP Interface Commands
Interface Address Configuration and Utilities
– 827 –
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) when DHCPv6 is restarted.
Example
This example assigns a dynamic global unicast address of
2001:DB8:2222:7272:2E0:CFF:FE00:FD to the switch.
Console(config-if)#ipv6 address autoconfig
Console(config-if)#ipv6 enable
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is enabled.
Link-local address:
FE80::2E0:CFF:FE00:FD/64
Global unicast address(es):
2001:DB8:2222:7272:2E0:CFF:FE00:FD/64, subnet is 2001:DB8:2222:7272::/
64[AUTOCONFIG]
valid lifetime 2591628 preferred lifetime 604428
Joined group address(es):
FF02::1:FF00:FD
FF02::1
IPv6 link MTU is 1280 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
Console#
Related Commands
ipv6 address (825)
show ipv6 interface (833)