Netgear M4300-52G (GSM4352S) - Stackable Managed Switch with 48x1G and 4x10G including 2x10GBASE-T and 2xSFP+ Layer 3 소프트웨어 가이드
Utility Commands
184
M4200 and M4300 Series ProSAFE Managed Switches
CLI Output Filtering Commands
show “command” | include “string”
The command show command (that is, you must enter a keyword of an existing show
command for the command parameter) is executed and the output is filtered to display only
lines containing the string match. All other non-matching lines in the output are
suppressed.
command for the command parameter) is executed and the output is filtered to display only
lines containing the string match. All other non-matching lines in the output are
suppressed.
Command example:
(NETGEAR Switch) #show running-config | include “spanning-tree”
spanning-tree configuration name "00-02-BC-42-F9-33"
spanning-tree bpduguard
spanning-tree bpdufilter default
show “command” | include “string” exclude “string2”
The command show command (that is, you must enter a keyword of an existing show
command for the command parameter) 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.
command for the command parameter) 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.
Command example:
(NETGEAR Switch) #show running-config | include “spanning-tree” exclude “configuration”
spanning-tree bpduguard
spanning-tree bpdufilter default
show “command” | exclude “string”
The command show command (that is, you must enter a keyword of an existing show
command for the command parameter) is executed and the output is filtered to show all lines
not containing the string match. Output lines containing the string match are
suppressed.
command for the command parameter) is executed and the output is filtered to show all lines
not containing the string match. Output lines containing the string match are
suppressed.
Command example:
(NETGEAR Switch) #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