Info-Center Loghost Source - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Use the undo info-center loghost command to restore the default configurations on a log host.
By default, output of system information to the log host is disabled. When it is enabled, the default
channel name will be loghost and the default channel number will be 2.
Note that:
The info-center loghost command takes effect only after the information center is enabled with
the info-center enable command.
Ensure to input a correct IP address while using the info-center loghost command to configure
the IP address for a log host. System will prompt an invalid address if the loopback address
(127.0.0.1) is input.
A maximum number of 4 hosts (different) can be designated as the log host.
Examples
# Output log information to a Unix station with the IP address being 1.1.1.1/16.
<Sysname> system-view
[Sysname] info-center loghost 1.1.1.1

info-center loghost source

Syntax
info-center loghost source interface-type interface-number
undo info-center loghost source
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies the egress interface for log information by the interface type
and interface number.
Description
Use the info-center loghost source command to specify the source IP address for log information.
Use the undo info-center loghost source command to restore the default.
By default, the interface for sending log information is determined by the matched route, and the
primary IP address of this interface is the source IP address of the log information.
After the source IP address of log information is specified, no matter the log information is actually
output through which physical interface, the source IP address of the log information is the primary IP
address of the specified interface. If you want to display the source IP address in the log information,
you can configure it by using this command.
Note that:
The info-center loghost source command takes effect only after the information center is
enabled with the info-center enable command.
1-17

Advertisement

Table of Contents
loading

Table of Contents