ping mpls segment routing static egress-ip
Syntax
ping mpls segment-routing static egress-ip <egress-ip (fec | count | destination | detail | exp | instance | logical-system | size | source | sweep) >
ping mpls segment-routing spring-te label-stack <label-stack (count | destination | detail | egress | exp | labels | logical-system | nexthop-address | nexthop-interface | size | source | sweep) >
Description
Use ping mpls segment-routing static
to check the MPLS segment routing
label-switched path (LSP) connections
on the prpd programmed static
routes. Type Ctrl+c to interrupt a ping mpls segment-routing
static
command.
Options
egress-ip |
Specify to ping PRPD-programmed labelled switched paths (LSP).
|
label-stack |
Specify label stack for ping packets.
|
Additional Information
NIL FEC validation is supported. The FEC validation for SWAN ping and traceroute command is not supported.
SWAN ping command takes label-stack, nexthop-address, and nexthop-interface as input will work only if all the three inputs are given by user in the label-stack command.
ping mpls segment-routing spring-te
command with label-stack
,
nexthop-address and nexthop-interface as input will have
vendor private tlv in mpls echo request only if egress-ip is
provided by user.
Required Privilege Level
Network
Output Fields
When you enter ping mpls segment-routing static
command, you can see the
feedback on the status of your request. An exclamation point
(!
) indicates that an echo reply. A period
(.
) indicates that an echo reply is not
received within the timeout period. An x
indicates
that an echo reply with an error code. Packets with error codes are
not counted in the received packets count. They are accounted
separately.
Sample Output
- ping mpls segment-routing static ?
- ping mpls segment-routing static egress-ip
- ping mpls segment-routing spring-te (label-stack)
ping mpls segment-routing static ?
user@host> ping mpls segment-routing static ? Possible completions: egress-ip To install IP address to use when sending probes
ping mpls segment-routing static egress-ip
user@router>ping mpls segment-routing static egress-ip ::100.100.100.4 !!!!! --- lsping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing spring-te (label-stack)
user@host>ping mpls segment-routing spring-te label-stack labels 600040 nexthop-address 21.1.2.2 nexthop-interface ge-0/0/2.0 Warning: License key missing; requires 'sr' license !!!!! --- lsping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss
Release Information
Command introduced in Junos OS Release 22.4R1.