Configuring Tunnel Interfaces
19-8 IP Configuration
Configuring Tunnel Interfaces
Purpose
Thecommandsinthissectiondescribehowtocreate,delete,andmanagetunnelinterfaces.
SeveraldifferenttypesoftunnelsprovidefunctionalitytofacilitatethetransitionofIPv4networks
toIPv6networks.Thesetunnelsaredividedintotwoclasses:configuredandautomatic.The
distinctionisthatconfiguredtunnelsareexplicitlyconfiguredwithadestinationorendpointof
thetunnel.Automatictunnels,incontrast,infertheendpointofthetunnelfromthedestination
addressofpacketsroutedintothetunnel.
ForinformationaboutconfiguringIPv6parametersontunnelinterfaces,suchasanIPv6address,
seeChapter 22,IPv6Configuration.
Commands
interface tunnel
Usethiscommandtoconfigureatunnelinterface.
Syntax
interface tunnel tunnel-id
no interface tunnel tunnel-id
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:C3(su)>router(Config)#
Note: IPv6 routing must be enabled with an IPv6 routing license key in order for these commands
to be visible in the CLI.
For information about... Refer to page...
interface tunnel 19-8
tunnel source 19-9
tunnel destination 19-10
tunnel mode 19-10
show interface tunnel 19-11
tunnelidSpecifiesthenumberofthetunnelinterfacetobeconfiguredfor
routing.Thevalueoftunnelidcanrangefrom0to7.