Netgear M4300-28G CLI Manual Software Version 12.x - Page 16
CLI commands. When, Pagination Control
View all Netgear M4300-28G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 16 highlights
M4300 Intelligent Edge Series Fully Managed Stackable Switches 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 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. - 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 (for example, "interface 0/1") with a configurable end-of-section delimiter. - String matching should be case insensitive. - Pagination, when enabled, also applies to filtered output. The following shows an example of the extensions made to the CLI show commands for the Output Filtering feature. (NETGEAR Switch) #show running-config ? Press enter to execute the command. | Output filter options. 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. (NETGEAR Switch) #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 188. Using the Command-Line Interface 16 CLI Command Reference Manual