PLANET WGSW-50040 User Manual

Page 418

Advertising
background image



ping failure which means unreachable link, while “!” for ping success, which means

reachable link.

Use ping command with source address configuration, and leave other fields to default.

Switch#ping src 10.1.128.161 10.1.128.160

Type ^c to abort.

Sending 5 56-byte ICMP Echos to 10.1.128.160, using source address 10.1.128.161,

timeout is 2 seconds.

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

In the example above, 10.1.128.161 is configured as the source address of the ICMP echo

requests, while the destination device is configured to be at 10.1.128.160. The command

receives all the ICMP reply packets for all of the five ICMP echo requests. The success

rate is 100%. It is denoted on the switch “.” for ping failure which means unreachable

link, while “!” for ping success, which means reachable link.

Ping with parameters entered interactively.

Switch#ping

VRF name

Target IP address10.1.128.160

Use source address option[n]: y

Source IP address: 10.1.128.161

Repeat count [5]100

Datagram size in byte [56]1000

Timeout in milli-seconds [2000]500

Extended commands [n]n

Display Information

Explanation

VRF name

VRM name. If MPLS is not enabled, this field will be left empty.

Target IP address:

The IP address of the target device.

Use source address option[n]

Whether or not to use ping with source address.

Source IP address

To specify the source IP address for ping.

Repeat count [5]

Number of ping requests to be sent. the default value is 5.

Datagram size in byte [56]

The size of the ICMP echo requests, with default as 56 bytes.

Timeout in milli-seconds [2000]:

Timeout in milli-seconds, with default as 2 seconds.

Extended commands [n]:

Whether or to use other extended options.

Advertising