beautypg.com

Outputting system information to the log buffer – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 53

background image

45

Step Command

Remarks

3.

Specify a name for a channel
identified by its number.

info-center channel
channel-number name

channel-name

Optional.
See

Table 2

for default channel

names.

4.

Configure an output channel

for the trap buffer and set the
buffer size.

info-center trapbuffer [ channel
{ channel-number |
channel
-name } | size buffersize ]

*

Optional.
By default, system information is

output to the trap buffer through
channel 3 (known as trapbuffer)

and the default buffer size is 256.

5.

Configure an output rule for

the trap buffer.

info-center source { module-name |
default } channel { channel-number

| channel-name } [trap { level

severity | state state } * ]

Optional.
See "

Default output rules of system

information

."

6.

Configure the timestamp

format.

info-center timestamp { debugging
| log | trap } { boot | date | none }

Optional.
The timestamp format for log, trap

and debugging information is date
by default.

Outputting system information to the log buffer

The log buffer receives the log information only, and discards the trap and debugging information.
To output system information to the log buffer:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the information center. info-center enable

Optional.
Enabled by default.

3.

Specify a name for a channel

identified by its number.

info-center channel
channel-number name
channel-name

Optional.
See

Table 2

for default channel

names.

4.

Configure an output rule for
the log buffer.

info-center logbuffer [ channel
{ channel-number |

channel-name } | size buffersize ]
*

Optional.
By default, system information is
output to the log buffer through

channel 4 (known as logbuffer)
and the default buffer size is 512.

5.

Configure an output rule for

the log buffer.

info-center source { module-name |
default } channel { channel-number

| channel-name } [ log { level

severity | state state } * ]

Optional.
See "

Default output rules of system

information

."

6.

Configure the timestamp

format.

info-center timestamp { debugging
| log | trap } { boot | date | none }

Optional.
The timestamp format for log, trap

and debugging information is date

by default.