Command Manual (For Soliton) – Configuration File Management
H3C S3100 Series Ethernet Switches
Chapter 1 Configuration File
Management Commands
1-2
z
radius-template
: Indicates the radius template configuration.
z
system
: Indicates the system configuration.
z
user-interface
: Indicates the user interface configuration.
interface
: Displays port/interface configuration.
interface-type
: Port/interface type, which can be one of the following: Aux, Ethernet,
GigabitEthernet, Loopback, NULL and VLAN-interface.
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:
z
begin
: Displays the line that matches the regular expression and all the
subsequent lines.
z
exclude
: Displays the lines that do not match the regular expression.
z
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
for details.
Table 1-1
Special characters in regular expression
Character
Meaning
Remarks
^
Starting sign, the string to the
right of this character appears
only at the beginning of a line.
For example, regular expression
^user
matches lines beginning
with
user
, not
Auser
.
$
Ending sign, the string to the left
of this character appears only at
the end of a line.
For example, regular expression
user$
matches lines ending with
user
, not
userA
.
.
Full stop, a wildcard used in place
of any character, including blank
None
*
Asterisk, the character to the left
of the asterisk should match zero
or more consecutive times.
For example,
zo*
can match
z
and
zoo
, and so on, but not
zo
.
+
Plus sign, the character to the left
of the plus sign should match one
or more consecutive times.
For example,
zo+
can match
zo
and
zoo
, and so on, but not
z
.
-
Hyphen. It connects two values
(the smaller one before it and the
bigger one after it) to indicate a
range together with [ ].
For example,
1-9
means numbers
from 1 to 9 (inclusive);
a-h
means
from
a
to
h
(inclusive).