Outputting system information to the log buffer – H3C Technologies H3C MSR 50 User Manual

Page 205

Advertising
background image

Step Command

Remarks

493.

Enter system view.

system-view

N/A

Optional.

494.

Enable the information center. info-center enable

Enabled by default.

Optional.

info-center channel
channel-number name

channel-name

495.

Name the channel with a
specified channel number.

See

Table 6

for default channel

names.

Optional.

info-center trapbuffer [ channel
{ channel-number |

channel-name } | size buffersize ]

*

496.

Configure an output channel
for the trap buffer and set the

buffer size.

By default, system information is
output to the trap buffer through

channel 3 (known as trapbuffer)

and the default buffer size is 256.

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

| channel-name } [ debug { level
severity | state state } * | log { level

severity | state state } * | trap

{ level severity | state state } * ] *

Optional.

497.

Configure an output rule for
the trap buffer.

See "Default output rules of system
information
."

Optional.

498.

Configure the timestamp

format.

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

The timestamp format for log, trap

and debug information is date by
default.

Outputting system information to the log buffer

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

Step Command

Remarks

499.

Enter system view.

system-view

N/A

Optional.

500.

Enable the information center. info-center enable

Enabled by default.

Optional.

info-center channel
channel-number name
channel-name

501.

Name the channel with a

specified channel number.

See

Table 6

for default channel

names.

Optional.

info-center logbuffer [ channel
{ channel-number |

channel-name } | size buffersize ]
*

502.

Configure an output channel
for the log buffer and set the

buffer size.

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

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

192

Advertising