Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 4 System Maintenance Commands
Huawei Technologies Proprietary
4-42
Description
Use the
info-center enable
command to enable the system log function.
Use the
undo info-center enable
command to disable system log function.
By default, system log function is enabled.
Only after the system log function is enabled can the system output the log information
to the info-center loghost and console, and so on.
Related command:
info-center loghost, info-center logbuffer, info-center console
channel, info-center monitor channel, display info-center
.
Example
# Enable the system log function.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] info-center enable
4.6.9 info-center logbuffer
Syntax
info
-
center logbuffer
[
channel
{
channel
-
number | channel
-
name
} |
size
buffersize
]*
undo info-center logbuffer
[
channel
|
size
]
View
System view
Parameter
channel
: Configures the channel to output information to buffer.
channel-number
: Channel number, ranging from 0 to 9, that is, system has ten
channels.
channel-name
: Specifies the channel name. The name can be
channel7, channel8,
channel9, console, logbuffer, loghost, monitor, snmpagent, trapbuffer, logfile
.
size
: Configures the size of buffer.
buffersize
: Size of buffer (number of messages which can be kept).
Description
Use the
info-center logbuffer
command to configure to output information to the
memory buffer.
Use the
undo info-center logbuffer
command to cancel the information output to
buffer.
By default, the switch outputs information to the memory buffer whose size is 512.