beautypg.com

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

Page 352

background image

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 [(Length )] [(Count )] [(Interval )]

Parameters:

: IPv4 host address (a.b.c.d) or a host name string

length

: PING Length keyword

: Ping ICMP data length (2-1452; Default is 56), excluding MAC, IP and ICMP headers

count

: PING Count keyword

: Transmit ECHO_REQUEST packet count (1-60; Default is 5)

interval

: PING Interval keyword

: 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