H3C LS-3100-52P-OVS-H3 Operation Manual - page 1715
1-9
To do…
Use the command…
Remarks
Specify a log host and
configure the parameters when
system information is output to
the log host
info-center loghost host-ip
[ channel{ channel-number |
channel-name }|facility
local-number ] *
Required
By default, the system does not
output information to a log host.
If you specify to output system
information to a log host, the
system uses channel 2
(loghost) by default.
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
Refer to
Default output rules of
system information
.
Specify the source IP address
for the log information
info-center loghost source
interface-type interface-number
Optional
By default, the source interface
is determined by the matched
route, and the primary IP
address of this interface is the
source IP address of the log
information.
Configure the format of the time
stamp for system information
output to the log host
info-center timestamp
loghost { date | no-year-date |
none }
Optional
date by default.
Outputting System Information to the Trap Buffer
The trap buffer receives the trap information only, and discards the log and debugging information even
if you have configured to output them to the trap 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
Refer to
Table 1-2
for default
channel names.
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.