C
HAPTER
40
| IP Interface Commands
Interface Address Configuration and Utilities
– 977 –
â—† 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 in the range of FE80~FEBF 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 enabled.
Link-local address:
FE80::269:3EF9:FE19:6779/64
Global unicast address(es):
2001:DB8::1:2E0:CFF:FE00:FD/64, subnet is 2001:DB8::1:0:0:0:0/64[EUI]
2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96[EUI]
Joined group address(es):
FF02::1:FF19:6779
FF02::1:FF00:72
FF02::1:FF00:FD
FF02::1
IPv6 link MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 3.
ND retransmit interval is 1000 milliseconds
Console#
RELATED COMMANDS
ipv6 enable (977)
show ipv6 interface (980)
ipv6 enable This command enables IPv6 on an interface that has not been configured
with an explicit IPv6 address. Use the no form to disable IPv6 on an
interface that has not been configured with an explicit IPv6 address.
SYNTAX
[no] ipv6 enable
DEFAULT SETTING
IPv6 is disabled
COMMAND MODE
Interface Configuration (VLAN)