EasyManuals Logo

Cisco Firepower 4100 Command Reference

Cisco Firepower 4100
420 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #16 background imageLoading...
Page #16 background image
Save and Filter Show Command Output
You can save the output of show commands by redirecting the output to a text file. You can filter the output
of show commands by piping the output to filtering commands.
Saving and filtering output are available with all show commands but are most useful when dealing with
commands that produce a lot of text.
Filter Show Command Output
To filter the output of a show command, use the following subcommands. Note that in the following syntax
description, the initial vertical bar | after the show command is the pipe character and is part of the command,
not part of the syntax description. The filtering options are entered after the command’s initial | character.
show command | {begin expression|count|cut expression|egrep expression|end expression|exclude
expression|grep expression|head|include expression|last|less|no-more|sort expression|tr
expression|uniq expression|wc}
Filtering Options
These are the filtering subcommands:
begin—Finds the first line that includes the specified pattern, and display that line and all subsequent
lines.
count—Counts the number of lines.
cut—Removes (“cut”) portions of each line.
egrep—Displays only those lines that match the extended-type pattern.
end—Ends with the line that matches the pattern.
exclude—Excludes all lines that match the pattern and show all other lines.
grep—Displays only those lines that match the pattern.
head—Displays the first lines.
include—Displays only those lines that match the pattern.
last—Displays the last lines.
less—Filters for paging.
no-more—Turns off pagination for command output.
sort—Sorts the lines (stream sorter).
tr—Translates, squeezes, and/or deletes characters.
uniq—Discards all but one of successive identical lines.
wc—Displays a count of lines, words, and characters.
expression
Cisco Firepower 4100/9300 FXOS Command Reference
14
Filter and Save Show Output
Save and Filter Show Command Output

Table of Contents

Other manuals for Cisco Firepower 4100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Firepower 4100 and is the answer not in the manual?

Cisco Firepower 4100 Specifications

General IconGeneral
BrandCisco
ModelFirepower 4100
CategoryFirewall
LanguageEnglish

Related product manuals