interfaces erspan erspan<tunnel-number> ip ttl <value>
Sets the time-to-live (TTL) value in the IP header of a tunnel packet.
The default value is 255.
- erspantunnel-number
- The identifier of a tunnel interface with an integer for the tunnel-number variable.
- value
- The value for the TTL field in the IP header of a tunnel packet (the carrier packet). Enter an integer from 0 through 255. When the TTL value is set to 0, a tunnel packet copies the TTL value from the packet being encapsulated (the passenger packet).
Configuration mode
interfaces {
erspan erspantunnel-number {
ip {
ttl value
}
}
}
The TTL field of the IP header of a packet limits the lifetime of an IP packet and prevents indefinite packet looping.
Use the set form of this command to set the TTL value in the TTL field of the IP header for a packet that traverses a tunnel interface.
Use the delete form of this command to reset the TTL value to the default setting of 255.
Use the show form of this command to display the current TTL value in the IP header of a tunnel packet.