Show Xxx | Exclude "String; Show Xxx | Begin "String - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

Command example:
(NETGEAR Switch) #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.
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
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Time Since Counters Last Cleared............... 281 day 4 hr 9 min 0 sec
Command example:
(NETGEAR Switch) #show interface 0/1 | exclude "Packets"
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Time Since Counters Last Cleared............... 20 day 21 hr 30 min 9 sec

show xxx | begin "string"

The command xxx is executed and the output is filtered to show all lines beginning with and
following the first line containing the "string" match. All prior lines are suppressed.
Command example:
(NETGEAR Switch) #show port all | begin "1/1"
1/1
Enable
1/2
Enable
1/3
Enable
1/4
Enable
1/5
Enable
1/6
Enable
M6100 Series Switches
Down
Down
Down
Down
Down
Down
Utility Commands
148
Disable N/A
N/A
Disable N/A
N/A
Disable N/A
N/A
Disable N/A
N/A
Disable N/A
N/A
Disable N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents