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 filename Redirects the command output to the specified file.
include string or expression Displays the command output that includes the specified expression.
exclude string or expression Displays the command output that excludes the specified expression.
begin string or expression Displays the command output that begins with the specified expression.
last Displays only the last few lines of the command output.
tee filename 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.