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


| (pipe)

Syntax

| (compare | count | display (detail | display set | inheritance | xml) | except pattern | find pattern | hold | last lines | match pattern | no-more | request message (all | account@terminal) 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 display the last number of lines from the end of the configuration, see Displaying 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 System (DNS) names. Truncates to fit original size unless full-names specified. To prevent the names from being truncated, use the full-names option.

request message (all | account@terminal)—Display command output on the terminal of a specific user logged in to your router, or on the terminals of all users logged in to your router.

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

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

Usage Guidelines

See Filtering Command Output and Moving Among Levels of the Hierarchy.


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