CLI Filtering show commands
To filter the output of
show commands, use the pipe character "|" after the command, a keyword, and then a regular expression.
show command | keyword regular_expression
The keyword indicates how the output should be shown:
- begin - output begins at the first instance of the matched regular expression
- include - output includes all lines of output that match the regular expression
- exclude - output includes all lines of output that do not match the regular expression
For more information, detailed examples, and syntax, take a look at the Links section.