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


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 command

user@host> show configuration | ?
Possible completions:
  count                Count occurrences
  display              Show additional kinds of information
  except               Show only text that does not match a pattern
  find                 Search for first occurrence of pattern
  hold                 Hold text without exiting the --More-- prompt
  last                 Display end of output only
  match                Show only text that matches a pattern
  no-more              Don't paginate output
  request              Make system-level requests
  resolve              Resolve IP addresses
  save                 Save output text to file
  trim                 Trim specified number of columns from start of line

See | (pipe) modifier for syntax details.


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