5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
810
8-11
ipv6 address
Configures an IPv6 address on a single interface or a range of interfaces, including tunnel and loopback
interfaces, enables IPv6 processing on the interface or interfaces. Multiple globally reachable addresses
can be assigned to an interface by using this command. It is not necessary to assign a link-local address
by using this command because one is automatically created. The
prefix
field is made up of the bits of the
address to be configured. The
prefix_length
field designates the number of high-order contiguous bits of
the address that make up the prefix.
IPv6 addresses can be expressed in eight blocks, where instead of a period, a colon is now used to
separate each block. For simplification, the leading zeros for each 16 bit block can be omitted. Relatedly,
a single sequence of 16 bit blocks that contains only zeros can be replaced with a double colon, as in “::”,
but this cannot be done for more than one sequence at a time (as doing so would result in non-unique
representations).
•
Dropping zeros:
3ffe:ffff:100:f101 :0:0:0:1
becomes
3ffe:ffff:100:f101::1
•
Local host:
0000:0000:0000:0000:0000:0000:0000:0001
becomes
::1
•
Any host:
0000:0000:0000:0000:0000:0000:0000:0000
becomes
::
The hexadecimal letters included in IPv6 addresses are not case-sensitive. One example of an IPv6
prefix and its prefix length is
3ffe:1::1234/64
.
The optional
[eui-64]
field is used to indicate that IPv6 processing on the interfaces was enabled by use
of an EUI-64 interface ID in the low order 64 bits of the address. If this option is used, then the value of
the
prefix_length
must be 64 bits.
The
no
command removes all of the IPv6 addresses on an interface or a specified IPv6 address. The
prefix
field is composed of the bits of the address to be configured. The
prefix_length
field is used to
indicate the number of high-order contiguous bits of the address that comprise the prefix. The optional
[eui-64]
field is used to indicate that IPv6 processing on the interfaces was enabled by use of an EUI-64
interface ID in the low order 64 bits of the address.
If no parameters are supplied, then the command deletes all the IPv6 addresses on an interface.
ipv6 address prefix/prefix_length [eui64]
no ipv6 address [prefix/prefix_length] [eui64]
Parameters
prefix/prefix_length
Enter the IPv6 prefix and prefix length.
eui64
(Optional) Use eui-64 Interface Identifier.
Default
The default is None.
Command Mode
Interface Config