System information
IP Interface Commands
4-227
4
address to modified EUI-64 format (see page 4-231). This address type
makes the switch accessible over IPv6 for all devices attached to the same
local subnet.
• If a duplicate address is detected on the local segment, this interface will be
disabled and a warning message displayed on the console.
• The no ipv6 enable command does not disable IPv6 for an interface that has
been explicitly configured with an IPv6 address.
Example
In this example, IPv6 is enabled on VLAN 1, and the link-local address
FE80::200:E8FF:FE90:0/64 is automatically generated by the switch.
Related Commands
ipv6 address link-local (4-233)
show ipv6 interface (4-234)
ipv6 general-prefix
This command defines an IPv6 general prefix for the network address segment. Use
the no form to remove the IPv6 general prefix.
Syntax
ipv6 general-prefix prefix-name ipv6-prefix/prefix-length
no ipv6 general-prefix prefix-name
• prefix-name - The label assigned to the general prefix.
• ipv6-prefix - The high-order bits of the network address segment assigned
to the general prefix. The prefix must be formatted according to RFC 2373
“IPv6 Addressing Architecture,” using 8 colon-separated 16-bit
hexadecimal values. One double colon may be used in the address to
indicate the appropriate number of zeros required to fill the undefined fields.
• prefix-length - A decimal value indicating how many of the contiguous bits
(from the left) of the address comprise the prefix (i.e., the network portion
of the address).
Console(config)#interface vlan 1
Console(config-if)#ipv6 enable
Console(config-if)#end
Console#show ipv6 interface
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::200:E8FF:FE90:0/64
Global unicast address(es):
Joined group address(es):
FF01::1/16
FF02::1/16
FF02::1:FF90:0/104
MTU is 1500 bytes.
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
Console#