Tunnel source vlan – LevelOne GTL-2691 User Manual

Page 1444

Advertising
background image

C

HAPTER

48

| IP Interface Commands

IPv6 to IPv4 Tunnels

– 1444 –

tunnel end-point IPv4 address. This eliminates the need to explicitly

configure the tunnel end-point address.

The two tunneling techniques – configured and automatic – differ

primarily in how they determine the tunnel end-point address. Most of

the underlying mechanisms are the same:

The entry node of the tunnel (the encapsulating node) creates an

encapsulating IPv4 header and transmits the encapsulated packet.

The exit node of the tunnel (the decapsulating node) receives the

encapsulated packet, reassembles the packet if needed, removes

the IPv4 header, updates the IPv6 header, and processes the

received IPv6 packet.

E

XAMPLE

Console(config)#interface tunnel 2

Console(config-if)#tunnel mode ipv6ip configured

Console(config-if)#

tunnel source vlan

This command sets the VLAN to which a tunnel source (or local end-point

of a tunnel) is assigned. Use the no form to detach the tunnel from the

assigned VLAN.

S

YNTAX

tunnel source vlan vlan-id
no tunnel source vlan

vlan-id - VLAN ID (Range: 1-4093)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Interface Configuration (IPv6/v4 Tunnel)

C

OMMAND

U

SAGE

The VLAN assigned to a tunnel must be a L3 VLAN with an IPv4 address.

Otherwise, an error message will be displayed on the console.

E

XAMPLE

Console(config)#interface tunnel 2

Console(config-if)#tunnel source vlan 2

Console(config-if)#

Advertising