An MPLS LSP ping operation tests connectivity in the LSP using verification on the specified Forwarding
Equivalence Class (FEC)
—
in this case, LDP IPv4 prefix
—
between the ping origin and the egress node
identified with the
target ipv4
command. This test is carried out by sending an MPLS echo request along the
same data path as other packets belonging to the FEC. When the ping packet reaches the end of the path, it is
sent to the control plane of the egress label switching router (LSR), which then verifies that it is indeed an
egress for the LSP. The MPLS echo request contains information about the LSP that is being verified.
In an MPLS network, an MPLS LSP trace operation traces LSP paths to the target router identified with the
target ipv4
command. In the verification of LSP routes, a packet is sent to the control plane of each transit
LSR, which performs various checks, including one that determines if it is a transit LSR for the LSP path.
Each transit LSR also returns information related to the LSP being tested (that is, the label bound to the LDP
IPv4 prefix).
Task ID
Operations
Task ID
read, write
monitor
Examples
The following example shows how to use the
target ipv4
command:
RP/0/0/CPU0:router#
configure
RP/0/0/CPU0:router(config)#
ipsla
RP/0/0/CPU0:router(config-ipsla)#
operation 1
RP/0/0/CPU0:router(config-ipsla-op)#
type mpls lsp ping
RP/0/0/CPU0:router(config-ipsla-mpls-lsp-ping)#
target ipv4 192.168.1.4 255.255.255.255
Related Commands
Description
Command
Configures an IP SLA operation.
operation, on page 174
Schedules an IP SLA operation.
schedule operation, on page 215
Tests connectivity in an LSP path in an MPLS VPN.
type mpls lsp ping, on page 286
Traces the hop-by-hop route of an LSP path in an
MPLS VPN.
type mpls lsp trace, on page 288
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
262
OL-24735-01
IP Service Level Agreement Commands
target ipv4