IPv6 to IPv4 Tunnel Interface Configuration Mode Commands


IPv6 to IPv4 Tunnel Interface Configuration Mode Commands
 
 
The IPv6 to IPv4 Tunnel Interface Configuration Mode is used to create and manage the IP interfaces for addresses, address resolution options, etc.
 
Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
 
destination address
Configures the destination of the tunnelled packets for a manual tunnel.
Product
All
Privilege
Security Administrator, Administrator
Syntax
destination address address
no destination
no
Removes configuration for the specified keyword.
text
Specifies the descriptive text to use. text must be 0 to 79 alpha and/or numeric characters with no spaces or a quoted string of printable characters
Usage
Set the description to provide useful information on the interface’s primary function, services, end users, etc. Any information useful may be provided.
Example
description sampleInterfaceDescriptiveText
 
end
Exits the interface configuration mode and returns to the Exec mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the Interface Configuration Mode and returns to the Context Configuration Mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Return to the context configuration mode.
 
mode
Configures the mode of IPv6 to IPv4 tunneling. The default is set to manual mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
mode { 6to4 | manual }
default mode
6to4
Configures automatic 6to4 IPv6 to IPv4 tunnels as specified in RFC 3056.
manual
Configures point-to-point manual IPv6 to IPv4 tunnels by specifying IPv4 address of the tunnel remote end.
default
Resets the mode of IPv6 to IPv4 tunneling to manual mode.
Usage
There can be only one 6to4 tunnel possible in a context. Once a 6to4 tunnel is configured, all subsequent tunnels will be configured as manual tunnels.
Example
The following command configures the mode to 6to4.
mode 6to4
The following command configures the mode to 6to4.
mode manual
 
source
Configures the source of tunneled packets.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
source { address ip_address |interfaceinterface_name}
no source
address ip_address
Specifies the IPv4 address to use as the source address of the tunnel.
ip_address is the IP address in dotted-decimal notation.
interface interface_name
Specifies the name of a non-tunnel IPv4 interface, whose address is used as the source address of the tunnel.
no
Removes configuration for the specified keyword.
Usage
Configures the source IPv4 address of the tunnel by either specifying the IP address (host address) or by specifying another configured non-tunnel IPv4 interface. The source address must be an existing interface address before it is used. State of source address will affect the operational state of the tunnel.
Example
The following command configures the source address of the tunnel.
source address 1.2.3.4
The following command specifies the source interface as testsource1.
source interface testsource1
 
tos
Configures the type of service (TOS) settings of the outer IPv4 header of the tunneled packets.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
tos {copy | value tos_value }
default tos
copy
Copies the DC octet of IPv6 packet to the TOS octet of IPv4 packet.
default
Configures default setting for the specified keyword.
value
Configures the raw TOS value ranging from 0 to 255. The default is 0.
Usage
Sets the TOS parameter to be used in the tunnel transport protocol or instructs to copy TOS value from the original IPv6 DC byte to the TOS value of the encapsulating IPv4 header.
Example
The following command sets the tos value to 1:
tos value 1
 
ttl
Configures the TTL (Time to live) value of the outer IPv4 header of the tunneled packets.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
ttl value ttl_value
default
Configures default setting for the specified keyword.
value
value is a range from 1 to 255. The default is 16.
Usage
Configures the TTL parameter to be used in the tunnel transport protocol.
Example
The following command sets the TTL value to 25.
ttl value 25
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883