
44
To do…
Use the command…
Remarks
Configure the channel
through which system
information can be output
to the trap buffer and
specify 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.
Configure the output rules
of the system information
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
See “
Default output rules of system
Configure the format of the
time stamp
info-center timestamp
{
debugging
|
log
|
trap
} {
boot
|
date
|
none
}
Optional
The time stamp format for log, trap and
debugging information is
date
by
default.
Outputting system information to the log buffer
NOTE:
The log buffer accepts only log and debugging information; it discards trap information even if you have
configured to output it to the log buffer.
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable information center
info-center enable
Optional
Enabled by default.
Name the channel with a
specified channel number
info-center channel
channel-number
name
channel-name
Optional
See
for default channel names.
Configure the channel
through which system
information can be output
to the log buffer and
specify the buffer size
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.
Configure the output rules
of the system information
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
See “
Default output rules of system
Configure the format of the
time stamp
info-center timestamp
{
debugging
|
log
|
trap
} {
boot
|
date
|
none
}
Optional
The time stamp format for log, trap and
debugging information is
date
by
default.