Reference Guide
ipv6 address
Congures an IPv6 address on an interface.
Syntax
ipv6 address ipv6–address/prefix-length
Parameters ipv6-address/prex-length — Enter an IPv6 address with the network prex length.
Defaults None
Command Mode INTERFACE
Usage Information
• An interface can have multiple IPv6 addresses. To congure 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
prex 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 autoconguration 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 autocong
Acquires global IPv6 addresses by using the network prex 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-conguration to discover prexes on the link, then add the EUI-64 based addresses
to the interface. Addresses are congured depending on the prexes received in router advertisement messages.
To enable auto-conguration, 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