ZyXEL Communications GS-4012 Switch User Manual


 
Chapter 46 User and Enable Mode Commands
GS-4012F/4024 User’s Guide
380
46.3 ping
Syntax:
ping <ip|host-name> < [in-band|out-of-band|vlan <vlan-id> ] [size
-> <0-1472>] [-t]>
where
This command sends Ping packets to an Ethernet device. The following example sends Ping
requests to and displays the replies from an Ethernet device with an IP address of
192.168.1.100.
46.4 traceroute
Syntax:
traceroute <ip|host-name> [in-band|out-of-band|vlan <vlan-id>][ttl
-> <1-255>] [wait <1-60>] [queries <1-10>]
where
<ip|host-name>
= The IP address or host name of an Ethernet device.
[in-band|out-of-
band|vlan <vlan-
id>]
= Specifies the network interface or the VLAN ID to which the
Ethernet device belongs.
out-of-band refers to the management port while in-band
means the other ports on the Switch.
[size <0-1472>]
= Specifies the packet size to send.
[-t]
= Sends Ping packets to the Ethernet device indefinitely. Press
[CTRL]+ C to terminate the Ping process.
sysname# ping 192.168.1.100
sent rcvd rate rtt avg mdev max min reply from
1 1 100 0 0 0 0 0 192.168.1.100
2 2 100 0 0 0 0 0 192.168.1.100
3 3 100 0 0 0 0 0 192.168.1.100
sysname#
<ip|host-name>
= The IP address or host name of an Ethernet device.
[in-band|out-of-
band|vlan <vlan-
id>]
= Specifies the network interface or the VLAN ID to which the
Ethernet device belongs.
[ttl <1-255>]
= Specifies the Time To Live (TTL) period.
[wait <1-60>]
= Specifies the time period to wait.
[queries <1-10>]
= Specifies how many tries the Switch performs the traceroute
function.