Administrator Guide

Layer 2 Switching Commands 511
ipv6 address (Interface Configuration)
Use the ipv6 address command to set the IPv6 address of an interface. Use
the no form of this command to reset the IPv6 address to the default.
Syntax
ipv6 address {
prefix/prefix-length
[eui64] | autoconfig | dhcp}
no ipv6 address
prefix
The IPv6 address to be configured.
prefix-length
Designates how many of the high-order contiguous bits of
the address make up the prefix.
eui64
The optional eui-64 field designates that IPv6 processing on the
interfaces is enabled using an EUI-64 interface ID in the low order 64 bits
of the address. If this option is used, the value of prefix_length must be 64
bits.
autoconfig
Use this keyword to enable IPv6 address auto configuration
mode.
dhcp
Use this keyword to obtain an IPv6 address via DHCP.
Default Configuration
There is no IPv6 address configured by default.
Command Mode
Interface Configuration mode (VLAN, tunnel, loopback)
User Guidelines
When setting the prefix length on an IPv6 address, no space can be present
between the address and the mask.
Multiple globally reachable addresses may be assigned to an interface.
Creation of a link local address is automatically performed by this command.
IPv6 addresses may be expressed in up to eight blocks. For simplification, the
leading zeros of each 16 bit block may be omitted. One sequence of 16 bit
blocks—containing only zeros—may be replaced by a double colon"::", but
not more than one at a time.
2CSNXXX_SWUM204.book Page 511 Monday, January 25, 2016 1:25 PM