EasyManua.ls Logo

NetApp CN1610 - CLI Output Filtering Commands; Show XXX|Include String; Show XXX|Include String Exclude String2; Show XXX |Exclude String

NetApp CN1610
708 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
140 CLI Output Filtering Commands
CLI Output Filtering Commands
show
xxx
|include
string
The command xxx is executed and the output is filtered to only show lines
containing the “string” match. All other non-matching lines in the output are
suppressed.
The following shows an example of the CLI command.
(CN1610) #show running-config | include “spanning-tree”
spanning-tree configuration name "00-02-BC-42-F9-33"
spanning-tree bpduguard
spanning-tree bpdufilter default
spanning-tree forceversion 802.1w
show
xxx
|include
string
” exclude
string2
The command xxx is executed and the output is filtered to only show lines
containing the “string” match and not containing the “string2” match. All other
non-matching lines in the output are suppressed. If a line of output contains both
the include and exclude strings then the line is not displayed.
The following shows example of the CLI command.
(CN1610) #show running-config | include “spanning-tree” exclude
“configuration
spanning-tree bpduguard
spanning-tree bpdufilter default
spanning-tree forceversion 802.1w
show
xxx
|exclude
string
The command xxx is executed and the output is filtered to show all lines not
containing the “string” match. Output lines containing the “string” match are
suppressed.
The following shows an example of the CLI command.
(CN1610) #show interface 0/1
Packets Received Without Error................. 0
Packets Received With Error.................... 0
Broadcast Packets Received..................... 0
Receive Packets Discarded...................... 0
Packets Transmitted Without Errors............. 0
Transmit Packets Discarded..................... 0

Table of Contents

Other manuals for NetApp CN1610

Related product manuals