User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 97
The parameter | means to use filter option.
The parameter “begin sets output to begin with the line that matches assigned keyword.
The parameter “exclude” sets output to exclude lines that matches assigned keyword.
The parameter include” sets output to include lines that matches assigned keyword only.
The parameter “section” sets output to include only a specified section of the content (e.g., “interface 0/1”) with
a configurable end-of-section delimiter. If multiple sections matching the specified string match criteria are part
of the output, then all instances are displayed. Each section begins with the line containing the starting keyword
and ends with the line containing the ending keyword. If there is a line, for example, the line L that contains the
starting keyword, and there is no line containing the ending keyword in the original output, the parameter
“section” will extract a section from the line L to the final line of the original output. (The default ending
keyword is “exit”.)
The parameter redirect means to write output to a remote file which locates the assigned url, and url
could be TFTP, FTP or SFTP.
Format show command | {[begin <keyword>] [exclude <keyword>] [include <keyword>][section <starting
keyword> [ending keyword]] [redirect url]}
Default None
Mode Privileged Exec
Example:
(M4500-32C) #show interface counters detailed 0/1 | begin "Total Packets" exclude
"0"
Total Packets Received (Octets)................ 438677
Packets Received 64 Octets..................... 115
Packets Received 65-127 Octets................. 376
Packets Received 128-255 Octets................ 2136
Packets RX and TX 64 Octets.................... 117
Packets RX and TX 65-127 Octets................ 36293
Packets RX and TX 128-255 Octets............... 2136
Total Packets Received Without Errors.......... 2729
Multicast Packets Received..................... 2258
Broadcast Packets Received..................... 471
Packets Discarded by Chip Debug Counter........ 225
Total Received Packets Discarded............... 225
Packets Transmitted 64 Octets.................. 2
Packets Transmitted 65-127 Octets.............. 35917
Max Frame Size................................. 1518
Total Packets Transmitted Successfully......... 35919
Multicast Packets Transmitted.................. 35919
MSTP BPDUs Transmitted......................... 33675
(M4500-32C) #