CLI Reference Guide-R04

Table Of Contents
Chapter 31
| IP Interface Commands
IPv6 Interface
– 913 –
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.
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 a 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%1/64
Global unicast address(es):
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:ff19:6779
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 enable (914)
show ipv6 interface (916)