User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 469
5.16.9. Ping Commands
Use these commands to determine whether another computer is on the network. A ping provides a synchronous
response when initiated from the CLI interface.
5.16.9.1. ping
Use this command to determine whether another computer is on the network. To use this command, configure
the switch for network (in-band) connection. The source and target devices must have the ping utility enabled
and running on top of TCP/IP. The switch can be pinged from any IP workstation with which the switch is
connected through the default VLAN (VLAN 1), as long as there is a physical path between the switch and the
workstation. The terminal interface sends, three pings to the target station.
Format ping [vrf <vrf-name>] {<ip-address> | <ip6addr> | <hostname>} [count <1-15>] [interval <1-60>] [size
<0-13000>] [source {< ip-address> | <slot/port> | loopback <loopback-id> | serviceport |vlan <vlan-
id>}]
Default The default count is 3.
The default interval is 3 seconds.
The default size is 0 bytes.
Mode Privileged EXEC
User EXEC
Using the options described below, you can specify the number and size of Echo Requests and the interval
between Echo Requests.
5.16.9.2. ping ipv6
Use this command to determine whether another computer is on the network. Ping provides a synchronous
response when initiated from the CLI interface. To use the command, configure the switch for network (in-band)
connection. The source and target devices must have the ping utility enabled and running on top of TCP/IP. The
switch can be pinged from any IP workstation with which the switch is connected through the default VLAN
(VLAN 1), as long as there is a physical path between the switch and the workstation. The terminal interface
Parameter
Definition
vrf-name
The name of the virtual router in which to initiate the ping. If no virtual router is
specified, the ping is initiated in the default router instance.
count
Use the count parameter to specify the number of ping packets (ICMP Echo
requests) that are sent to the destination address specified by the ip-address
field. The range for count is 1 to 15 requests.
interval
Use the interval parameter to specify the time between Echo Requests, in
seconds. Range is 1 to 60 seconds.
size
Use the size parameter to specify the size, in bytes, of the payload of the Echo
Requests sent. Range is 0 to 13000 bytes.
source
Use the source parameter to specify the source IP/IPv6 address or interface to
use when sending the Echo requests packets.