Info-Center Loghost - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Use the undo info-center logbuffer command to disable information output to the log buffer.
By default, information output to the log buffer is enabled with channel 4 (logbuffer) as the default
channel and a maximum buffer size of 512.
This command works only when the information center is enabled.
Related command: info-center enable, display info-center.
Example
# Configure the system to output information to the log buffer with the size of 50.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center logbuffer size 50

info-center loghost

Syntax
info-center loghost host-ip-addr [ channel { channel-number | channel-name } | facility
local-number ]*
undo info-center loghost host-ip-addr
View
System view
Parameter
host-ip-addr: IP address of a log host.
channel: Sets the information channel for the log host.
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.
facility local-number: Specifies the logging facility of the log host, which ranges from local0 to local7,
with the corresponding value ranging from 16 to 23; and defaults to local7, with the corresponding value
being 23.
Description
Use the info-center loghost command to enable information output to a log host through specifying
the IP address of the log host.
Use the undo info-center loghost command to disable information output to the log host.
By default, the switch does not output information to the log host. When it is enabled, the default
channel name will be loghost and the default channel number will be 2.
This command works only when the information center is enabled.
Be sure to set the correct IP address in the info-center loghost command. A loopback IP address will
cause an error message, prompting that the address is invalid.
1-8

Advertisement

Table of Contents
loading

Table of Contents