
mpls ping
Performs a connectivity check on an MPLS path.
Syntax: ping mpls {ldp fec | rsvp tunnelName [lsp-id lsp-id]} [cisco-compat] [count] [size] [timeout] [srcIPAddr] [destIPAddr] [expVal] [ttl]
fec
Specifies the LDP FEC to be pinged.
tunnelName
Specifies the RSVP tunnel to be pinged.
lsp-id
Optionally specifies the LSP-ID.
cisco-
compatMust be specified if either the ingress or the egress of the path is a Cisco router.
count
Specifies the number of pings to send. Valid Values: 1 - 65535. Default: 5.
size
Specifies the packet size of the ping. Valid Values: 100 - 10240. Default: 100.
srcIPAddr
Specifies the Source IP address of the ping.
destIPAddr
Specifies the Destination IP address of the ping.
expVal
Specifies the path EXP value for the ping. Valid Values: 0 - 7. Default: 0.
ttl
Specifies the time-to-live for the ping. Valid Values: 1 - 255. Default: 255.
Description: MPLS ping provides a diagnostic tool for checking the MPLS data plane integrity along the whole MPLS path towards the LSP egress, including all ECMP legs and members of trunk interfaces such as composite links and aggregate links. One-label depth of label stack is checked. For LDP over RSVP LSPs, LDP label liveness is checked. If the LDP LSP is dead, RSVP tunnel is checked as a second step.
MPLS ping provides for the checking of actual labeled packet forwarding for a particular LDP labeled path or RSVP tunnel with physical verification of MTU for the path.
MPLS Ping feature defines a ping and trace route mechanism that accomplish the following goals:
- The MPLS ping is used for connectivity checks
- Trace route is used for hop-by-hop fault localization as well as path tracing, including ECMP multi-path and members of a trunk interface
Use the mpls ping command to perform a check of an MPLS path integrity.
Use the trace command to perform a hop-by-hop fault localization check.
Factory Default: N/A
Command Mode: Privileged.
Example 1: In the following example, the mpls ping command pings LDP FEC 10.0.0.0/24:
router#ping mpls ldp 10.0.0.0/24
Sending 5, MPLS echoes for 10.0.0.0/24, timeout is 2 seconds:
Codes: 'M' - malformed request, 'T' - unknown TLV,
'N' - no mapping, 'S' - switched for FEC
'.' - timeout
MPLS echo reply from 10.210.169.1: seq=0 time= 6.732 ms
MPLS echo reply from 10.210.169.1: seq=1 time= 1.503 ms
MPLS echo reply from 10.210.169.1: seq=2 time= 1.443 ms
MPLS echo reply from 10.210.169.1: seq=3 time= 1.194 ms
MPLS echo reply from 10.210.169.1: seq=4 time= 1.517 ms
100% success rate (5/5)
router#
Related Commands: trace ldp
trace rsvp
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: TE%20Commands.fm
HTML File Name: TE%20Commands36.html
Last Updated: 12/19/04 at 14:56:07