Command Manual – Information Center
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Information Center Configuration
Commands
Huawei Technologies Proprietary
1-21
Use the
undo info-center timestamp loghost
command to restore the default time
stamp format.
By default, the
date
time stamp is adopted.
Example
# Set the
no-year-date
time stamp for output information sent to the log host.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] info-center timestamp loghost no-year-date
1.1.19 info-center trapbuffer
Syntax
info-center trapbuffer
[
channel
{
channel
-
number | channel
-
name
} |
size
buffersize
]*
undo info-center trapbuffer
[
channel
|
size
]
View
System view
Parameter
size
: Sets the size of the trap buffer.
buffersize
: Size of the trap buffer, represented by the number of messages it holds,
ranging from 0 to 1024 and defaulting to 256.
channel
: Sets the channel through which information is sent to the trap buffer.
channel
-
number
: Channel number, ranging from 0 to 9, corresponding to the 10
channels of the system.
channel
-
name
: Channel name. By default, the name of channel 0 to channel 9 is (in
turn)
console
,
monitor
,
loghost
,
trapbuffer
,
logbuffer
,
snmpagent
,
channel6
,
channel7
,
channel8
,
channel9
.
Description
Use the
info-center trapbuffer
command to enable information output to the trap
buffer.
Use the
undo info-center trapbuffer
command to disable information output to the
trap buffer.
This command takes effect only after the information center function is enabled.
Related command:
info-center enable
and
display info-center
.