DGS-6604
ipv6 address
CLI Reference Guide
331
ipv6 address
This command is used to add or delete an IPv6 address to an interface. The
address is configured using an IPv6 general prefix and when set it enables IPv6
processing on the interface. To remove the address from the interface, use the
no form of this command.
ipv6 address {
IPV6-ADDRESS/ PREFIX-LENGTH | PREFIX-NAME SUB-BITS/ PREFIX-LENGTH
}
no ipv6 address {
IPV6-ADDRESS/ PREFIX-LENGTH | PREFIX-NAME SUB-BITS/ PREFIX-
LENGTH
}
Default
No IPv6 addresses are assigned to the interface.
Command Mode
Interface configuration
Usage Guideline
The
ipv6 address
command allows multiple IPv6 addresses to be configured on
an interface in a variety of forms with varying options. The most common way is
to specify the IPv6 address with the prefix length.
Addresses may also be defined using the general prefix mechanism, which
separates the aggregated IPv6 prefix bits from the sub-prefix and host bits. In
this case, the leading bits of the address are defined in a general prefix, which is
globally configured or learned (for example, through use of DHCP-PD), and then
applied using the prefix-name argument. The sub-prefix bits and host bits are
defined using the sub-bits argument.
Syntax Description
IPV6-ADDRESS
The IPv6 address to be used.
PREFIX-LENGTH
The length of the IPv6 prefix. A decimal value that indicates how many of the
high-order contiguous bits of the address comprise the prefix (the network
portion of the address). A slash mark must precede the decimal value.
The maximum prefix length can not exceed 64.
PREFIX-NAME
A general prefix, which specifies the leading bits of the network to be configured
on the interface. The general prefix name can be 1-16 characters.
SUB-BITS
The sub-prefix bits and host bits of the address to be concatenated with the
prefixes provided by the general prefix.
Note
: The general prefix is specified using the
PREFIX
-
NAME
argument above.
The
SUB-BITS
argument must be in the form documented in RFC2373 where
the address is specified in hexadecimal using 16-bit values between colons.