Qtech QSW-3300-28F-AC-AC [54/693] Filter displayed output to only include lines containing a specified string match filter displayed output to exclude lines containing a specified string match filter displayed output to only include lines including and following a specified string match filter displayed output to only include a specified section of the content e g interface 0 1 with a configurable end of section delimiter string matching should be case insensitive pagination when enabled also applies to filtered output

Qtech QSW-3300-28F-AC-AC [54/693] Filter displayed output to only include lines containing a specified string match filter displayed output to exclude lines containing a specified string match filter displayed output to only include lines including and following a specified string match filter displayed output to only include a specified section of the content e g interface 0 1 with a configurable end of section delimiter string matching should be case insensitive pagination when enabled also applies to filtered output
CLI Output Filtering
Software User Manual
CLI Command Reference
Page 71
Supports enabling/disabling paginated output for all show CLI commands. When disabled, output is
displayed in its entirety. When enabled, output is displayed page-by-page such that content does not
scroll off the terminal screen until the user presses a key to continue. --More-- or (q)uit is displayed at
the end of each page.
When pagination is enabled, press the return key to advance a single line, press q or Q to stop
p
agination, or press any other key to advance a whole page. These keys are not configurable.
Output Filtering
“Grep”-like control for modifying the displayed output to only show the user-desired content.
Filter displayed output to only include lines containing a specified string match.
Filter displayed output to exclude lines containing a specified string match.
Filter displayed output to only include lines including and following a specified string match.
Filter displayed output to only include a specified section of the content (e.g. “interface 0/1”) with a
configurable end-of-section delimiter.
String matching should be case insensitive.
Pagination, when enabled, also applies to filtered output.
Example:
The following shows an example of the extensions made to the CLI show commands for the
Output Filtering feature.
(Routing) #show running-config ?
<cr> Press enter to execute the command.
| Output filter options.
<scriptname> Script file name for writing active configuration.
all Show all the running configuration on the switch.
interface Display the running configuration for specificed interface on the switch.
(Routing) #show running-config | ?
begin Begin with the line that matches
exclude Exclude lines that matches
include Include lines that matches
section Display portion of lines
For new commands for the feature, see “CLI Output Filtering Commands” on page 194.
Note: Although some Switch show commands already support pagination, the
implementation is unique per command and not generic to all commands.

Содержание

Скачать