Chapter 46 User and Enable Mode Commands

46.3 ping

Syntax:

ping <iphost-name> < [in-bandout-of-bandvlan <vlan-id> ] [ size -> <0-1472> ] [ -t ]>

where

<iphost-name>

=

The IP address or host name of an Ethernet device.

 

 

 

[in-bandout-of-

=

Specifies the network interface or the VLAN ID to which the

bandvlan <vlan-

 

Ethernet device belongs.

id> ]

 

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

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.

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#

46.4 traceroute

Syntax:

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

where

 

<iphost-name>

= The IP address or host name of an Ethernet device.

[in-bandout-of-

= Specifies the network interface or the VLAN ID to which the

bandvlan <vlan-

Ethernet device belongs.

id> ]

 

[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 times the Switch performs the traceroute

 

function.

388

 

ES-4124 User’s Guide