Filtering Operational Mode Command Output
You can redirect the output of operational mode commands into a file or into filters. When you display help about these commands, one of the options listed is
|, which is a pipe to redirect the output. For example:user@host>show configuration ?Possible completions:<[Enter]> Execute this command...| Pipe through a commanduser@host>show configuration | ?Possible completions:count Count occurrencesdisplay Show additional kinds of informationexcept Show only text that does not match a patternfind Search for first occurrence of patternhold Hold text without exiting the --More-- promptlast Display end of output onlymatch Show only text that matches a patternno-more Don't paginate outputrequest Make system-level requestsresolve Resolve IP addressessave Save output text to filetrim Trim specified number of columns from start of lineSee
| (pipe) modifierfor syntax details.