CLI Reference Guide-R04

Table Of Contents
Chapter 31
| IP Interface Commands
IPv6 Interface
– 912 –
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.
Link-local address:
2001:db8:0:1:2e0:cff:fe02:fd/64, subnet is 2001:db8:0:1::/64[EUI][EUI]
2001:db8:2222:7272::72/96, subnet is 2001:db8:2222:7272::/96
Joined group address(es):
ff02::2
ff02::1:ff00:0
ff02::1:ff00:72
ff02::1:ff02:fd
ff02::1:2
ff02::1
IPv6 link MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised router lifetime is 1800 seconds
Console#
Related Commands
ipv6 address autoconfig (908)
show ipv6 interface (916)
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)