Command Mode
Interface Configuration (VLAN)
Command Usage
• The address specified with this command replaces a link-local address that
was automatically generated for the interface.
• You can configure multiple IPv6 global unicast addresses per interface, but
only one link-local address per interface.
• If a duplicate address is detected, a warning message is sent to the console.
Example
This example assigns a link-local address of FE80::269:3EF9:FE19:6779 to
VLAN 1. Note that the prefix FE80 is required for link-local addresses, and the first
16-bit group in the host address is padded with a zero in the form 0269.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address FE80::269:3EF9:FE19:6779 link-local
Console(config-if)#end
Console#show ipv6 interface
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::269:3EF9:FE19:6779/64
Global unicast address(es):
2001:DB8::1:200:E8FF:FE90:0, subnet is 2001:DB8:0:1::/64
Joined group address(es):
FF01::1/16
FF02::1/16
FF02::1:FF19:6779/104
MTU is 1500 bytes.
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
Console#
Related Commands
ipv6 enable (41-7)
show ipv6 interface (41-14)
show ipv6 interface
This command displays the usability and configured settings for IPv6 interfaces.
Syntax
show ipv6 interface
[
brief
[
vlan
vlan-id [ipv6-prefix/prefix-length]]]
• brief - Displays a brief summary of IPv6 operational status and the
addresses configured for each interface.
• vlan-id - VLAN ID (Range: 1-4093)
• ipv6-prefix - The IPv6 network portion of the address assigned to the
interface. The prefix must be formatted according to RFC 2373 “IPv6
Addressing Architecture,” using 8 colon-separated 16-bit hexadecimal
41-14
IP Interface Commands
41