H3C S3100 Series Command Manual page 55

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

interface-number: Port/interface number.
by-linenum: Displays configuration information with line numbers.
|: Uses a regular expression to filter the configuration of the switch to be displayed. By specifying a
regular expression, you can locate and query the needed information quickly.
regular-expression: A regular expression, case sensitive. It supports the following match rules:
begin: Displays the line that matches the regular expression and all the subsequent lines.
exclude: Displays the lines that do not match the regular expression.
include: Displays only the lines that match the regular expression.
A regular expression also supports some special characters. For match rules of the special characters,
refer to
Table 1-1
Table 1-1 Special characters in regular expression
Character
^
$
.
*
+
-
[ ]
( )
Description
Use the display current-configuration command to display the current configuration of a switch.
After you finish a set of configurations, you can execute the display current-configuration command
to display the parameters that take effect currently.
Note that:
Parameters that are the same as the default are not displayed.
The configured parameter whose corresponding function does not take effect is not displayed.
Related commands: save, reset saved-configuration, display saved-configuration.
for details.
Meaning
Starting sign, the string to the right of this
character appears only at the beginning of a
line.
Ending sign, the string to the left of this
character appears only at the end of a line.
Full stop, a wildcard used in place of any
character, including blank
Asterisk, the character to the left of the
asterisk should match zero or more
consecutive times.
Plus sign, the character to the left of the plus
sign should match one or more consecutive
times.
Hyphen. It connects two values (the smaller
one before it and the bigger one after it) to
indicate a range together with [ ].
Square brackets. Specifies a range of
characters, and matches any character in the
specified range.
Parenthesis. Specifies a character group. It is
usually used with + or *.
For example, regular expression ^user
matches lines beginning with user, not
Auser.
For example, regular expression user$
matches lines ending with user, not userA.
None
For example, zo* can match z and zoo, and
so on, but not zo.
For example, zo+ can match zo and zoo,
and so on, but not z.
For example, 1-9 means numbers from 1 to 9
(inclusive); a-h means from a to h (inclusive).
For example, [1-36A] can match a string
containing any character among 1, 2, 3, 6,
and A.
For example, (123A) means a character
group 123A; 408(12)+ can match 40812 or
408121212. But it cannot match 408. That is,
12 can appear continuously and it must at
least appear once.
1-2
Remarks

Advertisement

Table of Contents
loading

Table of Contents