C
HAPTER
45
| IP Interface Commands
IPv6 Interface
– 1407 –
COMMAND USAGE
◆ All IPv6 addresses must be 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.
◆ To connect to a larger network with multiple subnets, you must
configure a global unicast address. This address can be manually
configured with this command, or it can be automatically configured
using the ip ipv6 address autoconfig command.
◆ If a link-local address has not yet been assigned to this interface, this
command will assign the specified static global unicast address and also
dynamically generate a link-local unicast address for the interface. (The
link-local address is made with an address prefix of FE80 and a host
portion based the switch’s MAC address in modified EUI-64 format.)
◆ If a duplicate address is detected, a warning message is sent to the
console.
EXAMPLE
This example specifies a full IPv6 address and prefix length.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address 2001:DB8:2222:7272::72/96
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is enabled
Link-local address:
FE80::2E0:CFF:FE00:FD/64
Global unicast address(es):
2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96
Joined group address(es):
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
ND advertised retransmit interval is 0 milliseconds
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
Console#
RELATED COMMANDS
ipv6 address eui-64 (1409)
ipv6 address autoconfig (1408)
show ipv6 interface (1414)
ip address (1396)