ping mpls segment routing ospf
Syntax
ping mpls segment routing ospf fec algorithm algorithm-id <count count> <destination address> <detail> <exp forwarding-class> <instance routing-instance-name> <logical-system (all | logical-system-name)> <p2mp root-addr ip-address lsp-id identifier> <size bytes> <source source-address> <stitched-protocol> <sweep>
Description
Check the operability of MPLS segment routing label-switched
path (LSP) connections added by ospf protocol. Type Ctrl+c to interrupt
a ping mpls segment routing ospf
command.
Options
algorithm algorithm-id | (Optional) Specify the flexible algorithm identifier.
The range of values is 0 through
255 . The default value is
0 which means no algorithm is
configured. The algorithm-id in
conjunction with the prefix is used to distinguish
labelled SR paths. |
count count |
(Optional) Number of ping requests to send. If
|
destination address |
(Optional) Specify an address other than the
default ( |
detail |
(Optional) Display detailed information about the echo requests sent and received. |
exp forwarding-class |
(Optional) Value of the forwarding class for the MPLS ping packets. |
fec |
Ping an LDP-signaled LSP using the forwarding equivalence class (FEC) prefix and length. |
instance routing-instance-name |
(Optional) Allows you to ping a combination of the routing instance and forwarding equivalence class (FEC) associated with an LSP. |
logical-system (all | logical-system-name) |
(Optional) Perform this operation on all logical systems or on the specified logical system. |
p2mp root-addr ip-address lsp-id identifier |
(Optional) Ping the end points of a point-to-multipoint LSP. Enter the IP address of the point-to-multipoint LSP root and the ID number of the point-to-multipoint LSP. |
size bytes |
(Optional) Size of the LSP ping request packet
( |
source source-address |
(Optional) IP address of the outgoing interface.
This address is sent in the IP source address
field of the ping request. If this option is not
specified, the default address is usually the
loopback interface ( |
stitched-protocol |
(Optional) Protocol stitched on intermediate node. |
sweep |
(Optional) Automatically determine the size of the maximum transmission unit (MTU). |
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 ospf
- ping mpls segment-routing isis
- ping mpls segment-routing ospf (Labelled OSPF flexible-algorithm IPv4 ping)
ping mpls segment-routing ospf
user@host>ping mpls segment-routing ospf 6.6.6.6 !!!!! --- lsping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing isis
user@host>ping mpls segment-routing ospf 6.6.6.6 detail Request for seq 1, to interface 333, label 22, packet size 80 Reply for seq 1, return code: Egress-ok, time: -7542.667 ms Local transmit time: 2019-03-06 11:55:03 IST 639.914 ms Remote receive time: 2019-03-06 11:54:56 IST 97.247 ms Request for seq 2, to interface 333, label 22, packet size 80 Reply for seq 2, return code: Egress-ok, time: -7543.680 ms Local transmit time: 2019-03-06 11:55:04 IST 641.965 ms Remote receive time: 2019-03-06 11:54:57 IST 98.285 ms Request for seq 3, to interface 333, label 22, packet size 80 Reply for seq 3, return code: Egress-ok, time: -7530.457 ms Local transmit time: 2019-03-06 11:55:05 IST 639.923 ms Remote receive time: 2019-03-06 11:54:58 IST 109.466 ms Request for seq 4, to interface 333, label 22, packet size 80 Reply for seq 4, return code: Egress-ok, time: -7540.548 ms Local transmit time: 2019-03-06 11:55:06 IST 642.870 ms Remote receive time: 2019-03-06 11:54:59 IST 102.322 ms Request for seq 5, to interface 333, label 22, packet size 80 Reply for seq 5, return code: Egress-ok, time: -7540.672 ms Local transmit time: 2019-03-06 11:55:07 IST 646.870 ms Remote receive time: 2019-03-06 11:55:00 IST 106.198 ms --- lsping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss
ping mpls segment-routing ospf (Labelled OSPF flexible-algorithm IPv4 ping)
user@host>ping mpls segment-routing ospf 10.10.10.10 algorithm 140 !!!!! --- lsping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss
Release Information
Command introduced in Junos OS Release 19.1R1
algorithm
option introduced in Junos OS Release 23.1R1
and Junos OS Evolved Release 23.1R1.