ping

Syntax

ping [ vrf vrfName ] [ ip ] destination [ packetCount ] [ timeout timeOutVal ]
[ transmit-delay delayVal ] [ ttl ttlValue ] [ data-size dataSize ]
[ data-pattern { ones | zeros | random | hex-data hexData } ]
[ source { interface interfaceType interfaceSpecifier | address sourceAddr } ]
[ sweep-sizes sweepMin sweepMax [ sweep-interval sweepInt ] ]
[ extended [ tos tosVal ] [ set-dont-fragment-bit ] [ set-router-alert ]
[ { loose-source-route | strict-source-route } [ srtAddrs ]* ]
[ record-route numRoutes ] [ timestamp numTstamps ]
[ interface interfaceType Interfacespecifier ] ]

ping ipv6 [ vrf vrfName ] destination [ packetCount ] [ timeout timeOutVal ]
[ transmit-delay delayVal ] [ hop-limit hopLimit ] [ data-size dataSize ]
[ data-pattern { ones | zeros | random | hex-data hexData } ]
[ source { interface interfaceType interfaceSpecifier | address sourceAddr } ]
[ sweep-sizes sweepMin sweepMax [ sweep-interval sweepInt ] ]
[extended [ dscp trafficClass ] [ flow-label flowLabel ] ]

Release Information

Command introduced before JunosE Release 7.1.0.
vrf keyword and vrfName variable added to IPv6 version in JunosE Release 7.2.0.

Description

Sends an ICMP echo request packet to the IP or IPv6 address that you specify. There is no no version.

Options

Mode

Privileged Exec, User Exec

Related Documentation