Operation Manual
IP Services Commands
IP Services Commands
8 – 101
Defaults
● count—5.
● dnf—Disabled.
● interval—100 (one tenth of a second)
● size—56.
Access
Enabled.
History
Usage
To stop a ping command in progress, press Ctrl+C.
An MX cannot ping its IP address. MSS does not support this.
Examples
The following command pings a device that has IP address 10.1.1.1:
MX# ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) from 10.9.4.34 : 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=0.769 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=0.628 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=0.676 ms
64 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=0.619 ms
64 bytes from 10.1.1.1: icmp_seq=5 ttl=255 time=0.608 ms
--- 10.1.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0 errors, 0% packet loss
See Also
traceroute on page 8-146
set arp
Adds an ARP entry to the ARP table.
Syntax
set arp {permanent | static | dynamic} ip-addr mac-addr
interval time
Time interval between ping packets, in milliseconds. You can specify from 100
through 10,000.
size size Packet size, in bytes. You can specify from 56 through 65,507.
Note: Because the MX adds header information, the ICMP packet size is 8 bytes
larger than the specified size.
tos tos Set the tos byte in the IP header. You can specify an integer from 0 to 255.
user Interpret 'host' argument as a user name.
Version 1.0 Command introduced.
Version 3.0 user option deprecated.
Version 7.0 tos and user options added.
permanent Adds a permanent entry. A permanent entry does not age out and remains in the
database even after a reboot, reset, or power cycle.
static Adds a static entry. A static entry does not age out, but the entry does not remain in
the database after a reboot, reset, or power cycle.
dynamic Adds a dynamic entry. A dynamic entry is automatically removed if the entry ages out,
or after a reboot, reset, or power cycle.