beautypg.com

Ipv6 address, Ipv6 address (1409) – LevelOne GTL-2691 User Manual

Page 1409

background image

C

HAPTER

48

| IP Interface Commands

IPv6 Interface

– 1409 –

An IPv6 default gateway can only be successfully set when a network

interface that directly connects to the gateway has been configured on

the router.

E

XAMPLE

The following example defines a default gateway for this device:

Console(config)#ipv6 default-gateway 2001:DB8:2222:7272::254

Console(config)#

R

ELATED

C

OMMANDS

show ipv6 route (1455)

ip default-gateway (1394)

ipv6 address

This command configures an IPv6 global unicast address and enables IPv6

on an interface. Use the no form without any arguments to remove all IPv6

addresses from the interface, or use the no form with a specific IPv6

address to remove that address from the interface.

S

YNTAX

[no] ipv6 address ipv6-address[/prefix-length]

ipv6-address - A full IPv6 address including the network prefix and

host address bits.
prefix-length - A decimal value indicating how many contiguous bits

(from the left) of the address comprise the prefix (i.e., the network

portion of the address).

D

EFAULT

S

ETTING

No IPv6 addresses are defined

C

OMMAND

M

ODE

Interface Configuration (VLAN, IPv6/v4 Tunnel)

C

OMMAND

U

SAGE

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.

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