11.2.7.3. How To Check Communications (Ping)

Operation Confirmed Version:
 vSRX Version15.1X49-D105.1

For vSRX, network communication check with the Ping command can be performed.

Command for checking network communication

The communication check function with the Ping command is described in this section. Using the Ping function allows to check whether communications with the target IP address are possible.

Presumed case for sample setting

  • To check whether communications with virtual server (192.168.3.13) are possible.

Command to be entered with CLI

user01@vSRX-01> ping 192.168.3.13

Note

Check can be performed with ping <IP address> command. For <IP address>, enter the IP address for which the reachability is to be checked.
To use the ping command in terms of interface (ge-0/0/x), the interface must have been assigned to a zone and ping must have been allowed by system-services under host-inbound-traffic in terms of the zone.
Zone setting for making ping usable in the trust zone
#set security zones security-zone trust host-inbound-traffic system-services ping
Make the settings in terms of the zone to be used.

Operation check result

The execution result below allowed to confirm success of Ping to server (192.168.3.13) in the configuration diagram.

user01@vSRX-01> ping 192.168.3.13
PING 192.168.3.13 (192.168.3.13): 56 data bytes
64 bytes from 192.168.3.13: icmp_seq=0 ttl=63 time=5.066 ms
64 bytes from 192.168.3.13: icmp_seq=1 ttl=63 time=1.963 ms
64 bytes from 192.168.3.13: icmp_seq=2 ttl=63 time=1.945 ms
64 bytes from 192.168.3.13: icmp_seq=3 ttl=63 time=2.001 ms
64 bytes from 192.168.3.13: icmp_seq=4 ttl=63 time=2.249 ms
^C
--- 192.168.3.13 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.945/2.645/5.066/1.216 ms

user01@vSRX-01>