Using CLI command output modifiers

You can filter the output of the CLI show commands by using the output modifiers described below.

Table 1. CLI command output modifiers

Output modifier

Description

append

Appends the output to a file.

redirect

Redirects the command output to the specified file.

include

Displays the command output that includes the specified expression.

exclude

Displays the command output that excludes the specified expression.

begin

Displays the command output that begins with the specified expression.

last

Displays only the last few lines of the command output.

tee

Redirects the command output to the specified file. Notice that this modifier also displays the command output.

until string

Ends the output when the output text matches the string.

count

Counts the number of lines in the output.

linnum

Enumerates the lines in the output.

more

Paginates the output.

nomore

Suppresses the pagination of the output.

FLASH

Redirects the output to flash memory.