H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Configuration File Management
H3C S7500 Series Ethernet Switches
Chapter 1 Configuration File Management
Commands
1-2
exclude: Displays the configuration excluding the specified characters.
include: Displays the configuration including the specified characters.
text: Text included in a configuration item, expressed in a regular expression. .
Table 1-1 Description on the special characters in the regular expression
Character Meaning Description
_
Underline, which can
represent the following
characters: (^|$|[,{}]), space,
starting character, and
ending character.
If the first character of a regular
expression is not “_”, the number of
underline characters in a regular
expression is only limited by the length
of a command line.
If the first character of a regular
expression is “_”, there can be up to
four other successive underline
characters following it.
If the underline characters are not
successive, only the first underline
character group is matched. The
subsequent underline groups are
ignored.
(
Left parenthesis,
push-in-stack signal
You are not recommended to use this
character in a regular expression.
.
Period, a wildcard which can
represent any single
character, including spaces.
*
Asterisk. It means that the
preceding sub-expression
can be matched for zero or
multiple times.
zo* matches “z” and “zoo”.
+
Plus sign. It means that the
preceding sub-expression
can be matched for once or
multiple times.
zo+ matches "zo" and “zoo”, but not
"z".
Description
Use the display current-configuration command to display the currently running
configuration parameters of the switch.
Running configuration parameters adopting the default values will not be displayed.
If you want to verify the configurations after finishing a set of configurations, you can
use the display current-configuration command to display the running parameters.
Although you have configured some parameters, they are not displayed if the related
functions are not effective.
When there is plenty of configuration information, you can use a regular expression to
filter the output information.