C
HAPTER
40
| IP Interface Commands
Interface Address Configuration and Utilities
– 974 –
◆ 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 to the switch.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address autoconfig
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is stale, AUTOCONFIG is enabled
Link-Local Address:
FE80::B60E:DCFF:FE34:E63C/64
Global Unicast Address(es):
2001:db8:2222:7272::/64, subnet is 2001:db8:2222:7272::/64[AUTOCONFIG]
valid lifetime 2591978 preferred lifetime 604778
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
Console#
RELATED COMMANDS
ipv6 address (972)
show ipv6 interface (980)
ipv6 address eui-64 This command configures an IPv6 address for an interface using an EUI-64
interface ID in the low order 64 bits and enables IPv6 on the interface. Use
the no form without any arguments to remove all manually configured
IPv6 addresses from the interface. Use the no form with a specific address
to remove it from the interface.
SYNTAX
ipv6 address ipv6-prefix/prefix-length eui-64
no ipv6 address [ipv6-prefix/prefix-length eui-64]
ipv6-prefix - The IPv6 network portion of the address assigned to
the interface.
prefix-length - A decimal value indicating how many contiguous bits
(from the left) of the address comprise the prefix (i.e., the network
portion of the address).