A SERVICE OF

logo

470 IP Addressing Commands
Syntax
ipv6 address {
prefix/prefix-length
[eui64] | autoconfig | dhcp }
no ipv6 address
prefix
—Consists of the bits of the 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 set the 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, loopback, port-channel)
User Guidelines
When setting the prefix length on an IPv6 address, no space can be present
between the address and the mask.
Example
Configure ipv6 routing on vlan 10 and obtain an address via DHCP. Assumes
vlan 10 already exists.
console(config)#ip routing
console(config)#interface vlan 10
console(config-if-vlan10)#ipv6 enable
console(config-if-vlan10)#ipv6 address dhcp
2CSPC4.XModular-SWUM200.book Page 470 Thursday, March 10, 2011 11:18 AM