Chapter 33 Command Examples

Figure 132 show mac address-table Command Example

sysname# show mac address-table static

Type

Port

VLAN ID

MAC Address

CPU

1

00:a0:c5:01:23:46

Static

sysname#

 

 

 

33.3 ping

Syntax:

ping <ip> < [in-bandout-of-bandvlan <vlan-id> ] [ size <0-8024> ] [ -t ]>

where

<ip>

[in-bandout-of- bandvlan <vlan- id> ]

=The IP address of an Ethernet device.

=Specifies the network interface or the VLAN ID to which the Ethernet device belongs.

out-of-bandrefers 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.

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

sysname# ping 192.168.1.100

avg

mdev

max

min

reply from

sent

rcvd

rate

rtt

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#

33.4 traceroute

Syntax:

traceroute <ip> [in-bandout-of-bandvlan <vlan-id>][ttl <1-255>] [wait <1- 60>] [queries <1-10>]

where

<ip>

= The IP address of an Ethernet device.

 

243

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