C
HAPTER
44
| IP Interface Commands
IPv6 Interface
– 1405 –
COMMAND USAGE
â—† This command enables IPv6 on the current VLAN interface and
automatically generates a link-local unicast address. The address prefix
uses FE80, and the host portion of the address is generated by
converting the switch’s MAC address to modified EUI-64 format (see
page 1401). This address type makes the switch accessible over IPv6
for all devices attached to the same local subnet.
â—† If a duplicate address is detected on the local segment, this interface
will be disabled and a warning message displayed on the console.
â—† The no ipv6 enable command does not disable IPv6 for an interface
that has been explicitly configured with an IPv6 address.
EXAMPLE
In this example, IPv6 is enabled on VLAN 1, and the link-local address
FE80::2E0:CFF:FE00:FD/64 is automatically generated by the switch.
Console(config)#interface vlan 1
Console(config-if)#ipv6 enable
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:7273::72/96, subnet is 2001:DB8:2222:7273::/96
Joined group address(es):
FF02::1:FF00:72
FF02::1:FF00:FD
FF02::1
IPv6 link MTU is 1280 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
ND advertised router lifetime is 1800 seconds
Console#
RELATED COMMANDS
ipv6 address link-local (1403)
show ipv6 interface (1407)