C
HAPTER
40
| IP Interface Commands
Interface Address Configuration and Utilities
– 976 –
EXAMPLE
This example uses the network prefix of 2001:0DB8:0:1::/64, and
specifies that the EUI-64 interface identifier be used in the lower 64 bits of
the address.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address 2001:0DB8:0:1::/64 eui-64
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is stale, AUTOCONFIG is disabled
Link-Local Address:
FE80::B60E:DCFF:FE34:E63C/64
Global Unicast Address(es):
2001:DB8::1:B60E:DCFF:FE34:E63C/64, subnet is 2001:DB8:0:1::/64[EUI]
2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96
Joined Group Address(es):
FF02::1:FF00:72
FF02::1:FF34:E63C
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 address autoconfig (973)
show ipv6 interface (980)
ipv6 address
link-local
This command configures an IPv6 link-local address for an interface and
enables IPv6 on the interface. Use the no form without any arguments to
remove all manually configured IPv6 addresses from the interface. Use the
no form with a specific address to remove it from the interface.
SYNTAX
ipv6 address ipv6-address link-local
no ipv6 address [ipv6-address link-local]
ipv6-address - The IPv6 address assigned to the interface.
DEFAULT SETTING
No IPv6 addresses are defined
COMMAND MODE
Interface Configuration (VLAN)
COMMAND USAGE
◆ The specified address 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. And
the address prefix must be in the range of FE80~FEBF.