ping mpls segment routing spring-te
Syntax
ping mpls segment-routing spring-te <egress-ip (active | color | count | detail | exp | instance | logical-system | secondary | segment-list | size | skip-fec-validation | source | sweep | tunnel-source) > <label-stack ( detail | egress | labels | logical-system | nexthop-address | nexthop-interface ) > <source-routing-path ( active | color | count | detail | egress-ip | exp | instance | logical-system | secondary | segment-list | size | skip-fec-validation | source | sweep | tunnel-source>
Description
Check the operability of MPLS segment routing label-switched
path (LSP) connections added by segment routing traffic-engineered
(SPRING-TE) protocol. Type Ctrl+c to interrupt a ping mpls segment
routing spring-te command.
Options
| egress-ip | Specify to ping to or install IP address to use when sending probes.
|
label-stack |
Specify label stack for ping packets. This option works only if
you do a minimum configuration of
|
| source-routing-path | Specify ping source path routing to use when sending probes.
|
Additional Information
With segment-list option, valid tunnel-source (source protocol used to create tunnel) is only static.
segment-list option is not present when tunnel-source is BGP SR-TE since BGP SR-TE does not have named
segment list.
With source-routing-path name, valid tunnel-source are PCEP and static.
With tunnel-source as PCEP, secondary option is not valid as PCEP always sends one primary LSP.
FEC validation is performed for ping mpls segment-routing
spring-te by default.
FEC validation is supported when segment-routing traffic-engineering
(SR-TE) tunnel has IGP labels (OSPF and IS-IS) only. For all the other
labels (for example, static, LDP, RSVP, etc.), you can use skip-fec-validation option.
For a combination of egress-ip and color options, valid tunnel-source are static and BGP SR-TE.
ping mpls segment-routing spring-te command
with label-stack option is supported in operational mode
only. It is not supported in configuration mode.
Parallel SID, binding SID, LDP over SR-TE is not supported.
ping mpls segment-routing spring-te command
with label-stack option adds explicit null label at the
bottom of the label stack for interoperability. You can include NIL
FEC for label “0” or “router alert label”
per OAM standard.
Required Privilege Level
network
Output Fields
When you enter this command, you are provided
feedback on the status of your request. An exclamation point (!) indicates that an echo reply was received. A period (.) indicates that an echo reply was not received within the
timeout period. An x indicates that an echo reply was received
with an error code. Packets with error codes are not counted in the
received packets count. They are accounted for separately.
Sample Output
- ping mpls segment-routing spring-te
- ping mpls segment-routing spring-te (label-stack)
- ping mpls segment-routing spring-te (source-routing-path) (No FEC validation)
- ping mpls segment-routing spring-te (source-routing-path) (FEC validation)
- ping mpls segment-routing spring-te (egress-ip) (No FEC validation)
- ping mpls segment-routing spring-te (egress-ip) (FEC validation)
ping mpls segment-routing spring-te
user@host> ping mpls segment-routing spring-te Possible completions: source-routing-path Source Path routing to use when sending probes egress-ip To/Install IP address to use when sending probes label-stack Label stack for traceroute packets
ping mpls segment-routing spring-te (label-stack)
user@host>ping mpls segment-routing spring-te label-stack labels [10153 10152] nexthop-address 23.0.1.2 nexthop-interface ge-0/0/0.0 egress 5.5.5.5 detail
Request for seq 1, to interface 333, labels <0, 10153, 10152>, packet size 88
Reply for seq 1, return code: Egress-ok, time: 4.009 ms
Local transmit time: 2020-02-06 12:02:52 IST 530.885 ms
Remote receive time: 2020-02-06 12:02:52 IST 534.894 ms
Request for seq 2, to interface 333, labels <0, 10153, 10152>, packet size 88
Reply for seq 2, return code: Egress-ok, time: 4.117 ms
Local transmit time: 2020-02-06 12:02:53 IST 530.870 ms
Remote receive time: 2020-02-06 12:02:53 IST 534.987 ms
Request for seq 3, to interface 333, labels <0, 10153, 10152>, packet size 88
Reply for seq 3, return code: Egress-ok, time: 4.121 ms
Local transmit time: 2020-02-06 12:02:54 IST 530.915 ms
Remote receive time: 2020-02-06 12:02:54 IST 535.036 ms
Request for seq 4, to interface 333, labels <0, 10153, 10152>, packet size 88
Reply for seq 4, return code: Egress-ok, time: 3.979 ms
Local transmit time: 2020-02-06 12:02:55 IST 531.869 ms
Remote receive time: 2020-02-06 12:02:55 IST 535.848 ms
Request for seq 5, to interface 333, labels <0, 10153, 10152>, packet size 88
Reply for seq 5, return code: Egress-ok, time: 3.707 ms
Local transmit time: 2020-02-06 12:02:56 IST 530.960 ms
Remote receive time: 2020-02-06 12:02:56 IST 534.667 ms
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing spring-te (source-routing-path) (No FEC validation)
user@host>ping mpls segment-routing spring-te source-routing-path path_1 egress-ip 5.5.5.5 color 6 skip-fec-validation detail
Request for seq 1, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 1, return code: Egress-ok, time: -1207.605 ms
Local transmit time: 2019-04-02 09:29:55 IST 548.038 ms
Remote receive time: 2019-04-02 09:29:54 IST 340.433 ms
Request for seq 2, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 2, return code: Egress-ok, time: -1161.555 ms
Local transmit time: 2019-04-02 09:29:56 IST 544.832 ms
Remote receive time: 2019-04-02 09:29:55 IST 383.277 ms
Request for seq 3, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 3, return code: Egress-ok, time: -1206.463 ms
Local transmit time: 2019-04-02 09:29:57 IST 542.845 ms
Remote receive time: 2019-04-02 09:29:56 IST 336.382 ms
Request for seq 4, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 4, return code: Egress-ok, time: -1223.260 ms
Local transmit time: 2019-04-02 09:29:58 IST 543.824 ms
Remote receive time: 2019-04-02 09:29:57 IST 320.564 ms
Request for seq 5, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 5, return code: Egress-ok, time: -1025.098 ms
Local transmit time: 2019-04-02 09:29:59 IST 548.127 ms
Remote receive time: 2019-04-02 09:29:58 IST 523.029 ms
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing spring-te (source-routing-path) (FEC validation)
user@host>ping mpls segment-routing spring-te source-routing-path path_1 detail
Request for seq 1, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 1, return code: Egress-ok, time: 1223.132 ms
Local transmit time: 2019-05-15 13:19:55 IST 233.274 ms
Remote receive time: 2019-05-15 13:19:56 IST 456.406 ms
Request for seq 2, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 2, return code: Egress-ok, time: 1240.785 ms
Local transmit time: 2019-05-15 13:19:56 IST 238.590 ms
Remote receive time: 2019-05-15 13:19:57 IST 479.375 ms
Request for seq 3, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 3, return code: Egress-ok, time: 1247.976 ms
Local transmit time: 2019-05-15 13:19:57 IST 240.568 ms
Remote receive time: 2019-05-15 13:19:58 IST 488.544 ms
Request for seq 4, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 4, return code: Egress-ok, time: 1408.181 ms
Local transmit time: 2019-05-15 13:19:58 IST 234.108 ms
Remote receive time: 2019-05-15 13:19:59 IST 642.289 ms
Request for seq 5, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 5, return code: Egress-ok, time: 1237.968 ms
Local transmit time: 2019-05-15 13:19:59 IST 234.587 ms
Remote receive time: 2019-05-15 13:20:00 IST 472.555 ms
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing spring-te (egress-ip) (No FEC validation)
user@host>ping mpls segment-routing spring-te egress-ip 5.5.5.5 color 6 skip-fec-validation detail
Request for seq 1, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 1, return code: Egress-ok, time: -1224.444 ms
Local transmit time: 2019-04-02 09:43:35 IST 618.804 ms
Remote receive time: 2019-04-02 09:43:34 IST 394.360 ms
Request for seq 2, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 2, return code: Egress-ok, time: -1222.231 ms
Local transmit time: 2019-04-02 09:43:36 IST 617.763 ms
Remote receive time: 2019-04-02 09:43:35 IST 395.532 ms
Request for seq 3, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 3, return code: Egress-ok, time: -1091.469 ms
Local transmit time: 2019-04-02 09:43:37 IST 617.897 ms
Remote receive time: 2019-04-02 09:43:36 IST 526.428 ms
Request for seq 4, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 4, return code: Egress-ok, time: -1212.647 ms
Local transmit time: 2019-04-02 09:43:38 IST 617.791 ms
Remote receive time: 2019-04-02 09:43:37 IST 405.144 ms
Request for seq 5, to interface 334, labels <900005, 900041>, packet size 76
Reply for seq 5, return code: Egress-ok, time: -1199.348 ms
Local transmit time: 2019-04-02 09:43:39 IST 617.984 ms
Remote receive time: 2019-04-02 09:43:38 IST 418.636 ms
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing spring-te (egress-ip) (FEC validation)
user@host>ping mpls segment-routing spring-te egress-ip 81.7.7.7 color 5 tunnel-source static detail
Request for seq 1, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 1, return code: Egress-ok, time: 1223.339 ms
Local transmit time: 2019-05-15 13:29:21 IST 108.718 ms
Remote receive time: 2019-05-15 13:29:22 IST 332.057 ms
Request for seq 2, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 2, return code: Egress-ok, time: 1237.089 ms
Local transmit time: 2019-05-15 13:29:22 IST 113.581 ms
Remote receive time: 2019-05-15 13:29:23 IST 350.670 ms
Request for seq 3, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 3, return code: Egress-ok, time: 1224.890 ms
Local transmit time: 2019-05-15 13:29:23 IST 111.563 ms
Remote receive time: 2019-05-15 13:29:24 IST 336.453 ms
Request for seq 4, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 4, return code: Egress-ok, time: 1228.785 ms
Local transmit time: 2019-05-15 13:29:24 IST 108.765 ms
Remote receive time: 2019-05-15 13:29:25 IST 337.550 ms
Request for seq 5, to interface 342, labels <800007, 800006, 800005>, packet size 80
Reply for seq 5, return code: Egress-ok, time: 1224.228 ms
Local transmit time: 2019-05-15 13:29:25 IST 107.678 ms
Remote receive time: 2019-05-15 13:29:26 IST 331.906 ms
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
Release Information
Command introduced in Junos OS Release 20.2R1.