[Contents] [Prev] [Next] [Index] [Report an Error]


| (pipe)

Syntax

| (compare | count | display <detail | inheritance | xml> | except pattern | find pattern | hold |
last
lines | match pattern | no-more | resolve <full-names> | save filename | trim columns)

Description

Filter the output of an operational mode or a configuration mode command.

Options

compare (filename | rollback n)—(configuration mode only, and only with the show command.) Compare configuration changes with another configuration file.

count—Display the number of lines in the output.

display—Display additional information about the configuration contents.

except pattern—Ignore text matching a regular expression when searching the output. If the regular expression contains spaces, operators, or wildcard characters, enclose it in quotation marks.

find pattern—Display the output starting at the first occurrence of text matching a regular expression. If the regular expression contains spaces, operators, or wildcard characters, enclose it in quotation marks (" ").

last lines—Display the last number of lines you want to view from the end of the configuration. For more information about how to deplaying the last number of lines from the end of the configuration, see Display the Lines You Want to View from the End of the Output

hold—Hold text without exiting the --More-- prompt.

match pattern—Search for text matching a regular expression. If the regular expression contains spaces, operators, or wildcard characters, enclose it in quotation marks.

no-more—Display output all at once rather than one screen at a time.

resolve—Convert IP addresses into domain name server (DNS) names. Truncates to fit original size unless full-names specified. To prevent the names from being truncated, use the full-name option.

save filename—Save the output to a file or URL. For information about specifying the filename, see Specify Filenames and URLs.

trim columns—Trim specified number of columns from the start line.

Usage Guidelines

See Filter Command Output.


[Contents] [Prev] [Next] [Index] [Report an Error]