beautypg.com

3 ping, 4 traceroute, 3 ping 33.4 traceroute – ZyXEL Communications GS-3012F Series User Manual

Page 243

background image

Chapter 33 Command Examples

GS-3012/GS-3012F User’s Guide

243

Figure 132 show mac address-table Command Example

33.3 ping

Syntax:

ping < [in-band|out-of-band|vlan ] [ size <0-8024> ] [ -t ]>

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.

Figure 133 ping Command Example

33.4 traceroute

Syntax:

traceroute [in-band|out-of-band|vlan ][ttl <1-255>] [wait <1-
60>] [queries <1-10>]

sysname# show mac address-table static
Port VLAN ID MAC Address Type
CPU 1 00:a0:c5:01:23:46 Static
sysname#

where

= The IP address of an Ethernet device.

[in-band|out-of-
band|vlan id> ]

= Specifies the network interface or the VLAN ID to

which the Ethernet device belongs.

out-of-band

refers the management port while

in-

band

means the other ports on the switch.

[ size <0-8024> ]

= Specifies the packet size to send.

[ -t ]

= Sends Ping packets to the Ethernet device indefinitely.

Click

[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#

where

= The IP address of an Ethernet device.