1-2
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).
[ ]
Square brackets. Specifies a range of
characters, and matches any character
in the specified range.
For example,
[1-36A]
can match a
string containing any character among
1, 2, 3, 6, and A.
( )
Parenthesis. Specifies a character
group. It is usually used with + or *.
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.
Description
Use the
display current-configuration
command to display the current configuration of a switch.
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...