ttl
To specify the time-to-live (TTL) value in the MPLS label of echo request packets, use the
ttl
command in
the appropriate configuration mode. To return to the default value, use the
no
form of this command.
ttl time-to-live
no ttl
Syntax Description
Maximum hop count for an echo request packet. Valid values are from 1 to
255.
time-to-live
Command Default
For an MPLS LSP ping operation, the default time-to-live value is 255.
For an MPLS LSP trace operations, the default time-to-live value is 30.
Command Modes
IP SLA MPLS LSP ping configuration
IP SLA MPLS LSP trace configuration
IP SLA MPLS LSP monitor ping configuration
IP SLA MPLS LSP monitor trace configuration
Command History
Modification
Release
This command was introduced.
Release 3.4.0
This command was added to IP SLA MPLS LSP monitor ping and
monitor trace configuration modes.
Release 3.5.0
Usage Guidelines
Use the
ttl
command to set the maximum number of hops allowed for echo request packets in an MPLS LSP
ping or MPLS LSP trace operation. Note that the number of possible hops differs depending the type of IP
SLA operation:
•
For MPLS LSP ping operations, valid values are from 1 to 255 and the default is 255.
•
For MPLS LSP trace operations, valid values are from 1 to 30 and the default is 30.
If the
ttl
command is used in IP SLA operation mode, it configures the time-to-live value for the specific
operation being configured. If the
ttl
command is used in IP SLA MPLS LSP monitor mode, it configures
the time-to-live value for all operations associated with the monitored provider edge (PE) routers. This
configuration is inherited by all LSP operations that are created automatically.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
281
IP Service Level Agreement Commands
ttl