2429

Table 628 Meanings of characters in text

Character

Meaning

Remarks

+

Addition, used to match a

 

subexpression before it one or

 

multiple times

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.

Description Use the display logbuffer command to display the state of the log buffer and the log information recorded. Absence of the size buffersize argument indicates that all log information recorded in the log buffer is displayed.

Example # Display the state of the log buffer and the log information recorded on a device.

<Sysname> display logbuffer

Logging buffer configuration and contents:enabled

Allowed max buffer size : 1024

Actual buffer size : 512

Channel number : 4 , Channel name : logbuffer

Dropped messages : 0

Overwritten messages : 718

Current messages : 512

%Jun 17 15:57:09:578 2006 Sysname IC/7/SYS_RESTART: System restarted --

H3C Platform Software

%Jun 17 15:57:54:428 2006 Sysname DEV/5/BOARD TEMP NORMAL:

Board temperature changes to normal in Frame 0 Slot 0, type is Sysn ame RPU Board.

%Jun 17 15:58:00:464 2006 Sysname SHELL/5/CMD:task:CFM ip:** user:** command:vlan 1

%Jun 17 15:58:00:465 2006 Sysname SHELL/5/CMD:task:CFM ip:** user:** command:interface Aux0

The rest is omitted here.

Table 629 Descriptions on the fields of the display logbuffer command

Field

Description

 

 

Logging buffer configuration and

Indicates the current state of the log buffer and its

contents

contents, which could be enabled or disabled.

Allowed max buffer size

The maximum buffer size allowed

Actual buffer size

The actual buffer size

Channel number

The channel number of the log buffer, defaults to 4

Page 2429
Image 2429
3Com MSR 50, MSR 30 manual Rest is omitted here, Descriptions on the fields of the display logbuffer command, 2429