ttl

Configures the time to live (TTL) value for a tunnel interface.

Syntax

ttl ttl-value
no ttl

Parameters

ttl-value
Specifies the TTL value. The range is from 1 to 255.

Command Default

The default TTL value is 255.

Modes

Interface tunnel configuration mode

Usage Guidelines

Use the no form of this command to revert to the default value.

Examples

This example configures the TTL value for the tunnel interface.

device# configure terminal
device (config)# interface tunnel 5
device(config-intf-tunnel-5)# mode gre ip
device(config-intf-tunnel-5)# source 10.1.1.10
device(config-intf-tunnel-5)# source ve 4
device(config-intf-tunnel-5)# destination 10.1.1.11
device(config-intf-tunnel-5)# router-interface ve 3
device(config-intf-tunnel-5)# dscp-ttl-mode pipe
device(config-intf-tunnel-5)# ttl 64