Chapter 45: CLI Overview
STANDARD Revision 1.0
C4® CMTS Release 8.3 User Guide
© 2016 ARRIS Enterprises LLC. All Rights Reserved.
1116
The following CLI options have been added to the
show
and
more
commands:
[|{begin|include|exclude|until |count |page} ["] regular expression ["]]
To use this functionality, enter a
show
or more command as normal but add a space followed by the "pipe" character (|) at
the end of the command line. Then add one of the keywords
begin
,
include
,
exclude
,
until
,
count
, or
page
, along with
the regular expression that you want to filter or search on.
Expanded Syntax
show <any-command> | begin <regular expression>
show <any-command> | include <regular expression>
show <any-command> | exclude <regular expression>
show <any-command> | until <regular expression>
show <any-command> | count <regular expression>
show <any-command> | page <regular expression>
more <any-command> | begin <regular expression>
more <any-command> | include <regular expression>
more <any-command> | exclude <regular expression>
more <any-command> | count <regular expression>
more <any-command> | page <regular expression>
Creating Regular Expressions
Regular expressions can be a single-character pattern that matches the same character in the input string, or multiple
characters that match the same multiple characters in the input string.
Special Characters
You can use keyboard characters (such as ! or ~) as single-character patterns, but certain keyboard characters have special
meaning when used in regular expressions. The keyboard characters that have special meaning in the CMTS are listed in
the table below: