16-11
<Sysname> system-view
[Sysname] info-center enable
% Information center is enabled
info-center logbuffer
Syntax
info-center logbuffer
[
channel
{
channel
-
number | channel
-
name
}
|
size buffersize
] *
undo info-center logbuffer
[
channel
|
size
]
View
System view
Default Level
2: System level
Parameters
channel
-
number
: A specified channel number, in the range 0 to 9.
channel
-
name
: Specifies a channel name, which could be a default name or a self-defined name. The
user needs to specify a channel name first before using it as a self-defined channel name. For more
information, refer to the
info-center channel name
command.
buffersize
: Specifies the maximum number of log messages that can be stored in a log buffer, in the
range 0 to 1,024 with 512 as the default value.
Description
Use the
info-center logbuffer
command to enable information output to a log buffer and set the
corresponding parameters.
Use the
undo info-center logbuffer
command to disable information output to a log buffer.
By default, information is output to the log buffer with the default channel of channel 4 (logbuffer) and
the default buffer size of 512.
Note that the
info-center logbuffer
command takes effect only after the information center is enabled
with the
info-center enable
command.
Examples
# Configure the system to output information to the log buffer through channel 4, and set the log buffer
size to 50.
<Sysname> system-view
[Sysname] info-center logbuffer size 50
info-center loghost
Syntax
info-center loghost
host
-
ip
[
channel
{
channel
-
number
|
channel
-
name
}
|
facility
local
-
number
] *
undo info-center loghost
host
-
ip
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...