163

Table 8 Special characters used in regular expressions

Character

Meaning

Notes on Use

 

 

 

*

Star, which matches the occurrences

zo* matches z and zoo.

 

of the character to the left for zero or

 

 

multiple times

 

+

Plus, which matches one or multiple

zo+ matches zo and zoo, but not z.

 

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.

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).

[ ]

Specifies a range.

[1-36A] matches a character, which

 

 

can be a number in the range 1 to

 

 

36 or character A.

( )

Specifies a group of characters.

 

Usually used with “+” and “*”.

(123A) specifies the string “123A”. 408(12)+ matchers “40812” or “408121212” (but not “408”). That is, “12” can appear for multiple times.

Description Use the display brief interface command to display brief interface information, 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.

Related command: interface.

Example # Display brief information of interface(s).

<Sysname> display brief interface

 

 

 

The brief information of interface(s) under

route mode:

 

Interface

Link

Protocol-link

Protocol type

Main IP

Eth1/0

UP

DOWN

 

ETHERNET

--

Eth1/1

UP

DOWN

 

ETHERNET

--

NULL0

UP

UP(spoofing)

NULL

--

S2/0

DOWN

DOWN

 

PPP

--

S2/1

DOWN

DOWN

 

PPP

--

The brief information of interface(s) under

bridge mode:

 

Interface

Link

Speed

Duplex Link-type

PVID

Eth4/0

DOWN

auto

auto

access

1

Eth4/1

DOWN

auto

auto

access

1

Eth4/2

DOWN

auto

auto

access

1

Eth4/3

DOWN

auto

auto

access

1

Eth4/4

DOWN

auto

auto

access

1

Eth4/5

DOWN

auto

auto

access

1

Page 163
Image 163
3Com MSR 50, MSR 30 manual Related command interface, Example # Display brief information of interfaces, 163