![Cisco Sx350 Скачать руководство пользователя страница 43](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320043.webp)
Introduction
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
42
1
•
exclude: Excludes all lines that have a sequence of characters matching the
given regular expression pattern.
•
count: Counts all lines that have a sequence of characters matching the
given regular expression pattern and displays the result (no other output is
displayed).
NOTE
Only 1 output modifier can be used in each command. The remainder of the text
typed in is part of the regular expression pattern.
A regular expression is a pattern (a phrase, number, or more complex pattern). The
CLI String Search feature matches regular expressions to the show or more
command output. Regular expressions are case-sensitive and allow for complex
matching requirements.
A regular expression can be a single-character pattern or a multiple-character
pattern. That is, a regular expression can be a single character that matches the
same single character in the command output or multiple characters that match
the same multiple characters in the command output. The pattern in the command
output is referred to as a string. This section describes creating both
single-character patterns and multiple-character patterns. It also discusses
creating more complex regular expressions, using multipliers, alternation,
anchoring, and parentheses.
Single-Character Patterns
The simplest regular expression is a single character that matches the same single
character in the command output. You can use any letter (A-Z, a-z) or digit (0-9) as
a single-character pattern. You can also use other keyboard characters (such as !
or ~) as single-character patterns, but certain keyboard characters have special
meaning when used in regular expressions.
Table
lists the keyboard characters
that have special meanings.
Character
Meaning
.
Matches any single character, including white space.
*
Matches 0 or more sequences of the pattern.
+
Matches 1 or more sequences of the pattern.
?
Matches 0 or 1 occurrences of the pattern.
^
Matches the beginning of the string.
$
Matches the end of the string.
Содержание Sx350
Страница 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Страница 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Страница 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Страница 503: ...IGMP Snooping Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 502 23 1000 239 255 0 7 ...
Страница 532: ...IP Routing Protocol Independent Commands 531 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 25 ...
Страница 736: ...IPv6 Prefix List Commands 735 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 31 ...
Страница 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...
Страница 1297: ...Virtual Local Area Network VLAN Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1296 67 4086 802 1x ...