Qtech QSW-3300-28F-AC-AC [178/693] Show xxx begin string

Qtech QSW-3300-28F-AC-AC [178/693] Show xxx begin string
CLI Output Filtering Commands
Software User Manual
CLI Command Reference
Page 195
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.
Example:
The following shows an example of the CLI command.
(Routing) #show port all | begin “1/1”
1/1 Enable Down Disable N/A N/A
1/2 Enable Down Disable N/A N/A
1/3 Enable Down Disable N/A N/A
1/4 Enable Down Disable N/A N/A
1/5 Enable Down Disable N/A N/A
1/6 Enable Down Disable N/A N/A
(Routing) #
show
xxx
|section “
string
The command
xxx
is executed and the output is filtered to show only lines included within the section(s)
identified by lines containing the “
string
” match and ending with the first line containing the default end-of-
section identifier (i.e. “exit”).
Example:
The following shows an example of the CLI command.
(Routing) #show running-config | section “interface 0/1”
interface 0/1
no spanning-tree port mode
exit
show
xxx
|section “
string
” “
string2
The command
xxx
is executed and the output is filtered to only show lines included within the section(s)
identified by lines containing the
string
” match and ending with the first line containing the “
string2
” match. If
multiple sessions matching the specified string match criteria are part of the base output, then all instances are
displayed.
show
xxx
|section “
string
” include “
string2
The command
xxx
is executed and the output is filtered to only show lines included within the section(s)
identified by lines containing the “
string
” match and ending with the first line containing the default end-of-
section identifier (i.e. “exit”) and that include the “string2” match. This type of filter command could also include
“exclude” or user-defined end-of-section identifier parameters as well.

Содержание

Скачать