ping (connect local-mgmt)
To test basic network connectivity by pinging another device on the network with its IPv4 address, use the
ping command.
ping {hostname|IPv4_address} [count number_packets]|[deadline seconds]|[interval
seconds]|[packet-size bytes]
Syntax Description
The host name or IP address of the network device to be contacted. The
maximum number of characters allowed for the host name is 510.
hostname| IPv4_address
(Optional) The number of ping packets to be sent. The range is 1 to 2147483647
packets.
count number_packets
(Optional) The maximum time to continue sending packets when no response
packets are received; pinging is terminated after this amount of time. The range
is 1 to 60 seconds.
deadline seconds
(Optional) The interval in seconds between ping packets. The range is 1 to 60
seconds; the default is 1 second.
interval seconds
(Optional) The number of data bytes to be added to the ping packet. The range
is 1 to 65468 bytes. The default is 56 bytes, which results in a 64-byte packet
when added to the 8-byte ICMP header.
packet-size bytes
Command Modes
connect local-mgmt
Command History
ModificationRelease
Command added.1.1(1)
Usage Guidelines
Use this command to test basic IP connectivity from the chassis management interface to an external network
by sending ICMP echo request packets to a specified host.
Example
This example shows how to connect to the local management shell and then ping another device on
the network twelve times:
firepower# connect local-mgmt
firepower(local-mgmt)# ping 198.51.100.10 count 12
PING 198.51.100.10 (198.51.100.10) from 203.0.113.5 eth0: 56(84) bytes of data.
64 bytes from 198.51.100.10: icmp_seq=1 ttl=61 time=0.264 ms
64 bytes from 198.51.100.10: icmp_seq=2 ttl=61 time=0.219 ms
64 bytes from 198.51.100.10: icmp_seq=3 ttl=61 time=0.234 ms
64 bytes from 198.51.100.10: icmp_seq=4 ttl=61 time=0.205 ms
64 bytes from 198.51.100.10: icmp_seq=5 ttl=61 time=0.216 ms
64 bytes from 198.51.100.10: icmp_seq=6 ttl=61 time=0.251 ms
64 bytes from 198.51.100.10: icmp_seq=7 ttl=61 time=0.223 ms
64 bytes from 198.51.100.10: icmp_seq=8 ttl=61 time=0.221 ms
64 bytes from 198.51.100.10: icmp_seq=9 ttl=61 time=0.227 ms
Cisco Firepower 4100/9300 FXOS Command Reference
106
A – R Commands
ping (connect local-mgmt)