ClearVIEW HD-20
SE
QUSB
S
YSTEM
ClearVIEW HD-20
SE
QUSB
S
YSTEM
,
Document Number 342-0936 Rev C
Page 40 of 46
Exit
NAME
exit - ends the current API command session
SYNOPSIS
exit
DESCRIPTION
Exit ends the current API command session. If the session is over telnet, the session is ended and the socket
is closed. If the session is over serial, a new session is started.
Help
NAME
help - display an overview of the CLI syntax
SYNOPSIS
help
DESCRIPTION
Display an overview of the command line syntax
History
NAME
history - command history
SYNOPSIS
history
[limit]
DESCRIPTION
Since many of the programs read user input a line at a time, the command history is used to keep track of
these lines and also recall historic information
HISTORY NAVIGATION
The command history can be navigated using the up and down arrow keys. The up arrow will move up a
single entry in the command history while the down arrow moves down in the command history.
HISTORY EXPANSION
The command history supports the expansion functionality from which previous commands can be recalled
from within a single session. History expansion is performed immediately after a complete line is read.
Listed below are examples of history expansion:
* !! Substitute the last command line.
* !N Substitute the Nth command line (absolute as per ’history’ command)
* !-N Substitute the command line entered N lines before (relative)
EXAMPLES
History - Displays the current command buffer
history 5 - Sets the history command buffer to remember the last 5 unique entries
Network Ping
NAME
network ping - send ICMP ECHO_REQUEST to network hosts
SYNOPSIS
network ping [count <count>] [size <size>] <destination-ip>
DESCRIPTION
Use the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE
from a host or gateway. ECHO_REQUEST datagrams have an IP and ICMP header, followed by a struct
timeval and then an arbitrary number of pad bytes used to fill out the packet.
OPTIONS
count - Stop after sending count ECHO_REQUEST packets. With deadline option, ping waits for count
ECHO_REPLY packets, until the timeout expires. The default is 5.
destination - The destination IP address where the ECHO_REQUESTS are sent
size - The data size of the ICMP packet to send. The default is 56 bytes
EXAMPLES
network ping 192.168.1.1 - Attempt to send 5 ICMP ECHO_REQUESTs with data size 56 to the host at
192.168.1.1
network ping count 10 size 100 192.168.1.1 - Attempt to send 10 ICMP ECHO_REQUESTs with data size of
100 to the host at 192.168.1.1