Command introduced in Junos OS Release 14.1X53-D30.
Verify the presence of the Virtual Extensible LAN (VXLAN) tunnel endpoints (VTEPs), which can originate and terminate VXLAN tunnels, and service connectivity within the context of the overlay VXLAN segment. Use ping overlay as a fault detection tool to determine failure within an overlay VXLAN tunnel. Type Ctrl+c to interrupt a ping overlay command.
The ping overlay command is not supported for IPv6.
The ping overlay command is not supported when there are multiple virtual-switch routing instances.
Only VXLAN overlay tunnel types are supported.
For QFX and EX9200 switches, the range of values is 1 through 65,535. The default value is 10.
For MX Series routers, the range of values is 1 through 2,000,000,000. The default value is 5.
For QFX and EX9200 switches, the range of values is 1 through 255. The default value is 255.
For MX Series routers, the range of values is 0 through 255. The default value is 255.
The hash parameters provide values that correspond to a particular data flow that the ping overlay command debugs. Based on the values that you specify, the system calculates a VXLAN UDP header source port hash, which is included in the VXLAN UDP header of the overlay ping and traceroute packets. Including the calculated hash in the VXLAN header enables the overlay ping and traceroute packets to emulate data packets in the flow that you are troubleshooting.
When using the hash parameters, we recommend that you specify a value for each parameter. The exception to this guideline is the hash-vlan parameter, which you do not have to use if the source endpoint is not a member of a VLAN. This practice ensures that the overlay ping and traceroute processes are successful and that the output for each command is accurate. If you do not specify a value for one or more of the hash parameters, the system sends an OAM request that might include incorrect hash values and generates a warning message.
Hash computation supports TCP and UDP protocols only.
Required Privilege Level
List of Sample Outputrun ping overlay
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. These packets are not counted in the received packets count. They are accounted for separately.
Table 1 lists the output fields for the ping overlay command. Output fields are listed in the approximate order in which they appear.
Table 1: ping overlay Output Fields
The VNI of the VXLAN overlay segment.
tunnel src ip
The IP address of the source end of the tunnel.
tunnel dst ip
The IP address of the destination end of the tunnel.
The physical or hardware address on the end host system you are trying to reach.
Number of ping requests sent.
TTL value for maximum number of pings.
The hash parameters provide the input-interface, source MAC address, destination MAC address, source IP address, destination IP address, and the VLAN of the two end hosts within an overlay segment. Hash parameters enable platform-specific hash computation to use as the source port in the outer UDP header.
Request/Response for seq x to/from address at timestamp
Number of ping request and response counts for determining overlay segments in tunnel.
run ping overlay
user@host> ping overlay tunnel-type vxlan vni 100 tunnel-src 192.0.2.10 tunnel-dst 192.0.2.20 mac 00:00:5E:00:53:cc count 5 hash-source-mac 00:00:5E:00:53:aa hash-destination-mac 00:00:5E:00:53:cc hash-source-address 198.51.100.1 hash-destination-address 198.51.100.3 hash-vlan 150 hash-input-interface xe-0/0/2 hash-protocol 17 hash-source-port 4456 hash-destination-port 4540
vni 100 tunnel src ip 192.0.2.10 tunnel dst ip 192.0.2.20 mac address 00:00:5E:00:53:cc count 5 ttl 255 hash-parameters: input-ifd-idx 653 end-host smac 00:00:5E:00:53:aa end-host dmac 00:00:5E:00:53:cc end-host src ip 198.51.100.1 end-host dst ip 198.51.100.3 end-host protocol 17 end-host l4-src-port 4456 end-host l4-dst-port 4540 end-host vlan 150 Request for seq 1, to 192.0.2.20, at 09-24 19:15:33 PDT.352 msecs Response for seq 1, from 192.0.2.20, at 09-24 19:15:33 PDT.359 msecs, rtt 11 msecs Overlay-segment present at RVTEP 192.0.2.20 End-System Present Request for seq 2, to 192.0.2.20, at 09-24 19:15:33 PDT.363 msecs Response for seq 2, from 192.0.2.20, at 09-24 19:15:33 PDT.370 msecs, rtt 10 msecs Overlay-segment present at RVTEP 192.0.2.20 End-System Present Request for seq 3, to 192.0.2.20, at 09-24 19:15:33 PDT.374 msecs Response for seq 3, from 192.0.2.20, at 09-24 19:15:33 PDT.381 msecs, rtt 10 msecs Overlay-segment present at RVTEP 192.0.2.20 End-System Present Request for seq 4, to 192.0.2.20, at 09-24 19:15:33 PDT.385 msecs Response for seq 4, from 192.0.2.20, at 09-24 19:15:33 PDT.392 msecs, rtt 10 msecs Overlay-segment present at RVTEP 192.0.2.20 End-System Present Request for seq 5, to 192.0.2.20, at 09-24 19:15:33 PDT.396 msecs Response for seq 5, from 192.0.2.20, at 09-24 19:15:33 PDT.403 msecs, rtt 11 msecs Overlay-segment present at RVTEP 192.0.2.20 End-System Present