Ip ping, Ip dns – PLANET XGSW-28040 User Manual
Page 352

User’s Manual of XGSW-28040
VLAN ID : 1
Example:
Set IP address:
XGSW-28040:/>ip setup 192.168.0.100 255.255.255.0
IP Ping
Description:
Ping IP address (ICMP echo).
Syntax:
IP Ping <ip_addr_string> [(Length <ping_length>)] [(Count <ping_count>)] [(Interval <ping_interval>)]
Parameters:
<ip_addr_string>
: IPv4 host address (a.b.c.d) or a host name string
length
: PING Length keyword
<ping_length>
: Ping ICMP data length (2-1452; Default is 56), excluding MAC, IP and ICMP headers
count
: PING Count keyword
<ping_count>
: Transmit ECHO_REQUEST packet count (1-60; Default is 5)
interval
: PING Interval keyword
<ping_interval>
: Ping interval (0-30; Default is 0)
Example:
XGSW-28040:/>ip ping 192.168.0.21
PING server 192.168.0.21
60 bytes from 192.168.0.21: icmp_seq=0, time=0ms
60 bytes from 192.168.0.21: icmp_seq=1, time=0ms
60 bytes from 192.168.0.21: icmp_seq=2, time=0ms
60 bytes from 192.168.0.21: icmp_seq=3, time=10ms
60 bytes from 192.168.0.21: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
IP DNS
Description:
Set or show the DNS server address.
352