Ipv6 address link-local – LevelOne GTL-2691 User Manual

Page 1413

Advertising
background image

C

HAPTER

48

| IP Interface Commands

IPv6 Interface

– 1413 –

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.

S

YNTAX

ipv6 address ipv6-address link-local
no ipv6 address
[ipv6-address link-local]

ipv6-address - The IPv6 address assigned to the interface.

D

EFAULT

S

ETTING

No IPv6 addresses are defined

C

OMMAND

M

ODE

Interface Configuration (VLAN, IPv6/v4 Tunnel)

C

OMMAND

U

SAGE

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 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.

E

XAMPLE

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/64

Global unicast address(es):

2001:DB8::1:2E0:CFF:FE00:FD/64, subnet is 2001:DB8::1:0:0:0:0/64[EUI]

2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96[EUI]

Joined group address(es):

FF02::1:FF19:6779

FF02::1:FF00:72

FF02::1:FF00:FD

Advertising