Chapter 3: Operations

29

 

 

Table 3.4: Port History Mode Commands (Continued)

Command Description

Prev

P decrements the current history display line by the number of lines per page and outputs a

new history display page.

 

 

 

Quit

Q returns to the normal CLI.

 

 

Resume

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 -ibefore the string. To specify

 

direction, type -uto search up from the current line toward the top of the buffer or -dto search

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 is displayed,

 

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.

 

 

Top

T sets the current history display line to one and outputs a history display page.

 

 

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

For more information, see Server CLI command on page 51 and Port History command on page 46.

To access port history mode:

Issue a Port History command.

PORT HISTORY

The PORT HISTORY > prompt appears.

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=HOLDAUTO

If Hold is specified, the number of bytes in the history buffer is displayed, but none of the his- tory data is output. In this case, you must access the CLI and use the Port History command to view the port’s history buffer content. This is the default mode.