![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/bd/9bd4509a-21d6-492d-965d-62d9824b36f1/9bd4509a-21d6-492d-965d-62d9824b36f1-bgf3.png)
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 <ip> < [in-band|out-of-band|vlan <vlan-id> ] [ 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 <ip> [in-band|out-of-band|vlan <vlan-id>][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
<ip>
= The IP address 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 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
<ip>
= The IP address of an Ethernet device.