Specifications

Configuring Tunnel Interfaces
15-8 IP Configuration
Configuring Tunnel Interfaces
Purpose
Thecommandsinthissectiondescribehowtocreate,delete,andmanagetunnelinterfaces.
SeveraldifferenttypesoftunnelsprovidefunctionalitytofacilitatethetransitionofIPv4networks
toIPv6networks.Thesetunnelsaredividedintotwoclasses:configuredandautomatic.The
distinctionisthatconfiguredtunnelsareexplicitlyconfiguredwith
adestinationorendpointof
thetunnel.Automatictunnels,incontrast,infertheendpointofthetunnelfromthedestination
addressofpacketsroutedintothetunnel.
ForinformationaboutconfiguringIPv6parametersontunnelinterfaces,suchasanIPv6address,
seeChapter 18,IPv6Configuration.
Commands
interface tunnel
Usethiscommandtoconfigureatunnelinterface.
Syntax
interface tunnel tunnel-id
no interface tunnel tunnel-id
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:C3(su)>router(Config)#
Usage
Thiscommandenablestunnelinterfaceconfigurationmodefromglobalconfigurationmode,and,
iftheinterfacehasnotpreviouslybeencreated,thiscommandcreatesanewtunnelrouting
interface.
For information about... Refer to page...
interface tunnel 15-8
tunnel source 15-9
tunnel destination 15-9
tunnel mode 15-10
show interface tunnel 15-11
tunnelid Specifiesthenumberofthetunnelinterfacetobeconfiguredfor
routing.Thevalueoftunnelidcan rangefrom0to7.