Using The No Form Of A Command; Executing Show Commands; Cli Output Filtering - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

Using the No Form of a Command

The no keyword is a specific form of an existing command and does not represent a new or
distinct command. Almost every configuration command has a no form. In general, use the
no form to reverse the action of a command or reset a value back to the default. For example,
the no shutdown configuration command reverses the shutdown of an interface. Use the
command without the keyword no to reenable a disabled feature or to enable a feature that is
disabled by default. Only the configuration commands are available in the no form.

Executing Show Commands

All show commands can be issued from any configuration mode (Global Configuration,
Interface Configuration, VLAN Configuration, etc.). The show commands provide information
about system and feature-specific configuration, status, and statistics. Previously, show
commands could be issued only in User EXEC or Privileged EXEC modes.

CLI Output Filtering

Many CLI show commands include considerable content to display to the user. This can
make output confusing and cumbersome to parse through to find the information of desired
importance. The CLI Output Filtering feature allows the user, when executing CLI show
display commands, to optionally specify arguments to filter the CLI output to display only
desired information. The result is to simplify the display and make it easier for the user to find
the information the user is interested in.
The main functions of the CLI Output Filtering feature are:
Pagination Control
-
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 pagination, or press any other key to advance a whole page. These keys
are not configurable.
Note:
Although some NETGEAR Managed Switch show commands already
support pagination, the implementation is unique per command and
not generic to all commands.
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.
M6100 Series Switches
Using the Command-Line Interface
14

Advertisement

Table of Contents
loading

Table of Contents