Reference Guide

ipv6 address
Congures an IPv6 address on an interface.
Syntax
ipv6 address ipv6–address/prefix-length
Parameters ipv6-address/prex-length — Enter an IPv6 address with the network prex length.
Defaults None
Command Mode INTERFACE
Usage Information
An interface can have multiple IPv6 addresses. To congure an IPv6 address in addition to the link-local
address, enter the ipv6 address ipv6-address/mask command. You only need to specify the network
prex because the 64-bit interface ID is automatically calculated from the MAC address.
The no version of this command removes the IPv6 address on the interface.
To remove all IPv6 addresses from an interface, enter the no ipv6 address autoconfig command. To
re-enable stateless autoconguration of an IPv6 link-local address on a switch interface, enter the ipv6
address autoconfig command.
Example
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ipv6 address 2111:dddd:0eee::22/128
Supported Releases 10.3.0E or later
ipv6 address autocong
Acquires global IPv6 addresses by using the network prex obtained from router advertisements.
Syntax
ipv6 address autoconfig
Parameters None
Defaults Disabled except on the management interface
Command Mode INTERFACE
Usage Information The no version of this command removes all IPv6 addresses from an interface. This command causes the device
to perform IPv6 stateless auto-conguration to discover prexes on the link, then add the EUI-64 based addresses
to the interface. Addresses are congured depending on the prexes received in router advertisement messages.
To enable auto-conguration, set the interface in L3 mode using the no switchport command.
Example
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# ipv6 address autoconfig
OS10(conf-if-eth1/1/1)#
Supported Releases 10.3.0E or later
ipv6 address dhcp
Enables DHCP client operations on the interface.
Syntax
ipv6 address dhcp
Parameters None
286 Layer 3