3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2413
text: Regular expression in a case-insensitive string with space allowed.
Description Use the
display current-configuration command to display the current
validated configuration of a device.
A parameter is not displayed if it has the default configuration.
You can use the display current-configuration command to view the currently
validated configuration. A parameter is not displayed if it has the default
configuration. If the validated parameter is changed, although you have
configured it, the validated parameter is displayed. For example, ip address
11.11.11.11 24 has been configured on a Loopback interface. In this case, if you
execute the display current-configuration command, ip address 11.11.11.11
255.255.255.255 is displayed, meaning the validated subnet mask is 32 bits.
Related command: save on page 2365, reset saved-configuration on page 2363, display
saved-configuration on page 2361.
Example # Display the configuration of all controllers on the devices.
<Sysname> display current-configuration controller
#
Table 623 Special characters in regular expression
Character Meaning Note
^ Starting sign, the string following it
appears only at the beginning of a
line.
Regular expression “^user” matches a
string begins with “user”, not
“Auser”.
$ Ending sign, the string before it
appears only at the end of a line.
Regular expression “user$” matches a
string ends with “user”, not “userA”.
( Left bracket, used as a stack symbol in
a program
It is not recommended to user this
character to establish a regular
expression.
. Full stop, a wildcard used in place of
any character, including blank
None
* Asterisk, used to match a
subexpression zero or multiple times
before it
zo* can map to “z” and “zoo”.
+ Addition, used to match a
subexpression one or multiple times
before it
zo+ can map to “zo” and “zoo”, 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).
[ ] Selects one character from the group. For example, [1-36A] can match only
one character among 1, 2, 3, 6, and
A.
( ) A group of characters. It is usually
used with “+” or “*”.
For example, (123A) means a string
“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.