Qtech QSW-8200-28T-AC-DC Команды отладки и диагностики онлайн [6/25] 481627

Qtech QSW-8200-28T-AC-DC Команды отладки и диагностики онлайн [6/25] 481627
User Manual
Chapter 1. Commands for Show 6
www.qtech.ru
Function: Add the loghost sequence-number for the log; the no command does not
include the loghost sequence-number.
Command Mode: Port mode
Default: Do not include the sequence-number.
Usage Guide: Use logging command to configure the loghost before this command is
set.
Example: Open the loghost sequence-number.
Switch(config)# logging loghost sequence-number
1.7 ping
Command: ping [[src <source-address> ] { <destination-address> | host <hostname> }]
Function: Issue ICMP request to remote devices, check whether the remote device can
be reached by the switch.
Parameters: <source-address> is the source IP address where the ping command is
issued, with IP address in dotted decimal format. <destination-address> is the target IP
address of the ping command, with IP address in dotted decimal format. <hostname> is
the target host name of the ping command, which should not exceed 64 characters.
Default: 5 ICMP echo requests will be sent. The default packet size and time out is 56
bytes and 2 seconds.
Command Mode: Admin mode
Usage Guide: When the ping command is entered without any parameters, interactive
configuration mode will be invoked. And ping parameters can be entered interactively.
Example:
Example 1: To ping with default parameters.
Switch#ping 10.1.128.160
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 10.1.128.160, timeout is 2 seconds.
...!!
Success rate is 40 percent (2/5), round-trip min/avg/max = 0/0/0 ms
In the example above, the switch is made to ping the device at 10.1.128.160. The
command did not receive ICMP reply packets for the first three ICMP echo requests
within default 2 seconds timeout. The ping failed for the first three tries. However, the
last two ping succeeded. So the success rate is 40%. It is denoted on the switch “.” for
ping failure which means unreachable link, while “!” for ping success, which means
reachable link.
Example 2: 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.

Похожие устройства

Скачать