Command Manual – Configuration File Management
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Configuration File Management
Commands
Huawei Technologies Proprietary
1-2
interface-number
: Port/interface number.
vlan
: Displays VLAN configuration.
vlan-id
: VLAN ID.
by-linenum
: Displays line numbers.
|
: Uses a regular expression to filter the configuration of the device to be displayed.
begin
: Displays the configuration starting with the string specified by the
regular-expression
argument.
include
: Displays the configuration including the string specified by the
regular-expression
argument.
exclude
: Displays the configuration not including the string specified by the
regular-expression
argument.
regular-expression
: A regular expression.
Table 1-1
Special characters used in a regular expression
Character
Meaning
Description
^
Match the strings starting
with the sub-expressions
following “^”
^user matches configuration
files starting with “user”.
$
Matches the strings starting
with the sub-expressions
before “$”
user$ matches the
configuration ending with
“user”
_
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 the 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, it can
represent any single
character, including spaces.
—