Setting the Time-To-Live (TTL)
Prerequisites
Before you use the CLI to set the TTL, you must be at the global configuration level.
The Time-To-Live (TTL) is the maximum number of routers (hops) through which a packet can pass before being discarded. Each router decreases a packet’s TTL by 1 before forwarding the packet. If a router decreases the TTL to 0, the router drops the packet instead of forwarding it.
Setting the TTL
Use the ip ttl <number-of-hops>
command to set the TTL. The default value for the TTL is 64 and
the range is 2 - 255.
Examples
The following example sets the TTL to 60.
switch(config)# ip ttl 60