Chapter 5: CCM Commands

57

 

 

When you are in port history mode, you may issue the following commands.

Port History Mode Commands

Command

Description

Bottom

B sets the history view location to the bottom of the file minus 23

 

history display lines, if available.

 

 

Clear

C clears the port’s history buffer.

 

 

Next

N increments the current history display line by the number of lines

 

per page and a new history display page is output.

 

 

Prev

P decrements the current history display line by the number of lines

 

per page and a new history display page is output.

 

 

Quit

Q returns to the normal CLI.

 

 

Resume

R exits port history mode and CLI mode, and resumes the serial

 

session with the attached serial device.

 

 

Search

S searches the port history buffer for a specified string. Enclose

 

strings containing embedded spaces in quotes. To specify search

 

direction, type -u(up) or -d(down). To ignore case, type -i.

 

 

Top

T sets the current history display line to 1 and outputs a history

 

display page.

 

 

Examples

The following command accesses the serial port’s history mode.

> port history

In history mode, the following command searches the history buffer in the downward direction for the string “connected to,” ignoring case.

PORT HISTORY > s -d -i “connected to”

Port Logout command

The Port Logout command terminates the CCM session on a specified port.

Access right: USER

Access level: ADMIN or APPLIANCEADMIN

Syntax

PORT <port> LOGOUT

Port Logout Command Parameter

Parameter Description

<port>

Port number in the range 1-8 for a CCM840 or 1-16 for a CCM1640.