ipv6 address link-local 60

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-addresslink-local

no ipv6 address [ipv6-addresslink-local]

ipv6-address- The IPv6 address assigned to the interface. The 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 FE80.

Default Setting

No IPv6 addresses are defined

Command Mode

Interface Configuration (VLAN)

Command Usage

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 the prefix FE80 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 2001:0DB8:0:1::/64 eui-64 Console(config-if)#end

Console#show ipv6 interface Vlan 1 is up

IPv6 is enable. Link-local address:

FE80::269:3EF9:FE19:6779/64 Global unicast address(es):

2001:DB8::1:200:E8FF:FE90:0, subnet is 2001:DB8:0:1::/64 Joined group address(es):

FF01::1/16

FF02::1/16

FF02::1:FF19:6779/104 MTU is 1500 bytes.

ND DAD is enabled, number of DAD attempts: 1. ND retransmit interval is 1000 milliseconds Console#

60-9

Page 541
Image 541
Accton Technology ES4524D, ES4548D, 24/48-Port manual Ipv6 address link-local