beautypg.com

3 ping, 4 traceroute, 3 ping 43.4 traceroute – ZyXEL Communications GS-4012F/4024 User Manual

Page 295

background image

GS-4012F/4024 User’s Guide

294

Chapter 43 User and Enable Mode Commands

This command displays the MAC address(es) stored in the switch. The following example
shows the static MAC address table.

43.3 ping

Syntax:

ping < [in-band|out-of-band|vlan ] [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

.

43.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#

=

The IP address or host name 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 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#