Pipe (|) support in
show
commands
The pipe (|
) command is a CLI session command that filters the output of show
show
commands according to the criteria specified by the parameter
include
,
exclude
,
count
,
begin
, or
redirect
.
The pipe (
|
) command is supported for use with theshow
command only.You can use multiple pipe commands with a single show command.
For example:
show running-config | include "vlan" | exclude "vlan2" | count
Command completion by pressing the Tab key is not supported for pipe commands.
Using the pipe command with the
page
command is not supported.