Description
Related command:
Example
Table 8 Special characters used in regular expressions
Character
Meaning
*
Star, which matches the occurrences
of the character to the left for zero or
multiple times
+
Plus, which matches one or multiple
occurrences of the character to the
left
-
Hyphen, which is used to connect two
numbers or characters. Note that the
number to the left of this character
need to be larger than the one to the
right. When used in a "[" and "]" pair,
it represents a range.
[ ]
Specifies a range.
( )
Specifies a group of characters.
Usually used with "+" and "*".
Use the
display brief interface
including simple interface name, link state, protocol link state, protocol type, and
main IP address.
If neither interface type nor interface number is specified, all interface
■
information will be displayed;
If only interface type is specified, then only information of this particular type
■
of interface will be displayed.
If both interface type and interface number are specified, then only information
■
of the specified interface will be displayed.
interface.
# Display brief information of interface(s).
<Sysname> display brief interface
The brief information of interface(s) under route mode:
Interface
Eth1/0
Eth1/1
NULL0
S2/0
S2/1
The brief information of interface(s) under bridge mode:
Interface
Eth4/0
Eth4/1
Eth4/2
Eth4/3
Eth4/4
Eth4/5
command to display brief interface information,
Link
Protocol-link
UP
DOWN
UP
DOWN
UP
UP(spoofing)
DOWN
DOWN
DOWN
DOWN
Link
Speed
DOWN
auto
DOWN
auto
DOWN
auto
DOWN
auto
DOWN
auto
DOWN
auto
Notes on Use
zo* matches z and zoo.
zo+ matches zo and zoo, but not z.
1-9" represent a range from 1 to 9
("1" and "9" included), and a-h
represent a range from "a" to "h"
("a" and "h" included).
[1-36A] matches a character, which
can be a number in the range 1 to
36 or character A.
(123A) specifies the string "123A".
408(12)+ matchers "40812" or
"408121212" (but not "408").
That is, "12" can appear for
multiple times.
Protocol type
ETHERNET
ETHERNET
NULL
PPP
PPP
Duplex
Link-type
auto
access
auto
access
auto
access
auto
access
auto
access
auto
access
163
Main IP
--
--
--
--
--
PVID
1
1
1
1
1
1