◆
E
This command sets the VLAN to which a tunnel source (or local end-point
tunnel source vlan
of a tunnel) is assigned. Use the no form to detach the tunnel from the
assigned VLAN.
S
D
None
C
Interface Configuration (IPv6/v4 Tunnel)
C
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
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.
XAMPLE
Console(config)#interface tunnel 2
Console(config-if)#tunnel mode ipv6ip configured
Console(config-if)#
YNTAX
tunnel source vlan vlan-id
no tunnel source vlan
vlan-id - VLAN ID (Range: 1-4094)
S
EFAULT
ETTING
M
OMMAND
ODE
U
OMMAND
SAGE
XAMPLE
Console(config)#interface tunnel 2
Console(config-if)#tunnel source vlan 2
Console(config-if)#
– 1701 –
| IP Interface Commands
C
49
HAPTER
IPv6 to IPv4 Tunnels