HP 16-port SCS Installation Instructions Manual page 42

Table of Contents

Advertisement

Using port history mode commands
When you are in port history mode, you can issue the commands listed in Table 3-6. Only the first letter of the
command is required.
Table 3-6
Port history mode commands
Command
Bottom
Clear
Next
Prev
Quit
Resume
Search
Top
The following examples assume the user is in port history mode.
The following command searches the history buffer in the upward direction for the string Abort Process.
port history> s -u "Abort Process"
The following command searches the history buffer for the string Process, ignoring case.
port history> s -i Process
See "Server CLI command" and "Port history command."
Accessing port history mode
Issue a Port History command.
port history
The PORT HISTORY> prompt appears.
Controlling the port history buffer display
To control the port history buffer display when you connect, issue a Server CLI command, using the History
parameter to specify the Hold or Auto option:
server cli history=hold|auto
If Hold is specified, the number of bytes in the history buffer displays, but none of the history data is output. In this
case, you must access the CLI and use the Port History command to view the history buffer content of the port.
This mode is the default.
If Auto is specified, the number of bytes in the history buffer displays and the entire content of the buffer is output to
the Telnet session. In this mode, the content of the history buffer can be reviewed in the scrolling window of the Telnet
client. You can also use the Port History command to view the history buffer content of the port.
To control the port history buffer content when you end a session, issue a Server CLI command, using the
History parameter to specify the Clear or Keep option:
Description
B sets the view location to the bottom of the file minus 23 history display lines, if available.
C clears the port history buffer.
N increments the current history display line by the number of lines per page and outputs a new history
display page.
P decrements the current history display line by the number of lines per page and outputs a new history
display page.
Q returns to the normal CLI.
R leaves port history mode and CLI mode and resumes the session with the attached serial device. This
single command is equivalent to sequentially using the Quit and Resume commands.
S searches the port history buffer for a specified text string. Search strings with embedded spaces must be
enclosed in quotes.
By default, the search is case-sensitive. To ignore case, enter -i before the string. To specify direction, enter -
u to search up from the current line toward the top of the buffer or -d to search down from the current line
toward the bottom of the buffer. The search direction remains in effect for subsequent searches until you
change the search direction.
If the string is found, the current history display line is set to the line containing the string, and the unit
outputs a history display page. If the string is not found, an error message appears, no other information is
output, and the current history display line is not changed.
Entering the Search command with no parameters searches again for the previous string in the same
direction as the previous search.
T sets the current history display line to one and outputs a history display page.
Operations 36

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

48-port scs

Table of Contents