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


| (pipe)

Syntax

| (compare | count | display <detail | inheritance | xml> | except pattern | find pattern | hold | 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 (" ").

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 How to 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]