| (pipe)
Syntax
|
(compare | count | display (detail | display set | inheritance | xml) | exceptpattern| findpattern| hold | lastlines| matchpattern| no-more | request message (all |account@terminal) resolve <full-names> | savefilename| trimcolumns)Description
Filter the output of an operational mode or a configuration mode command.
Options
compare (filename | rollbackn)—(Configuration mode only, and only with theshowcommand) Compare configuration changes with another configuration file.
count—Display the number of lines in the output.
display—Display additional information about the configuration contents.
detail—(Configuration mode only) Display configuration data detail.inheritance <brief | default | groups | terse>—(Configuration mode only) Display inherited configuration data and source group.set—Display the configuration as a series of configuration mode commands required to recreate the configuration.xml—(Operational mode only) Display the command output as JUNOScript (Extensible Markup Language [XML]) tags.
exceptpattern—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.
findpattern—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 (" ").
lastlines—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.
matchpattern—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 unlessfull-namesspecified. To prevent the names from being truncated, use thefull-namesoption.
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.
savefilename—Save the output to a file or URL. For information about specifying the filename, see Specifying Filenames and URLs.
trimcolumns—Trim specified number of columns from the start line.Usage Guidelines
See Filtering Command Output and Moving Among Levels of the Hierarchy.