R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
98
port port-number: Specifies the port number of the log host, in the range of 1 to 65535. The default value
is 514. It must be the same as the value configured on the log host. Otherwise, the log host cannot receive
system information.
channel: Specifies the channel through which system information is output to the log host.
channel-number: Specifies a channel by its number in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For how to
configure a channel name, see info-center channel name.
facility local-number: Specifies a logging facility from local0 to local7 for the log host. The default value
is local7. Logging facilities are used to mark different logging sources, and query and filer logs.
Description
Use info-center loghost to specify a log host and configure output parameters.
Use undo info-center loghost to restore the default.
By default, no log host is specified. If you configure this command without specifying a channel, the
system specifies channel 2 (loghost) by default.
The info-center loghost command takes effect only after the information center has been enabled with the
info-center enable command.
Input a correct log host IP address. The system prompts an invalid address if the loopback address
127.0.0.1 is input.
The device supports up to four log hosts.
Examples
# O u t p u t l og i n f o rm a t i on t o t h e l o g h os t 1.1.1.1.
<Sysname> system-view
[Sysname] info-center loghost 1.1.1.1
# Output log information to the log host 1.1.1.2 in vpn1.
<Sysname> system-view
[Sysname] info-center loghost vpn-instance vpn1 1.1.1.2
# Output log information to a log host with the IPv6 address of 1::1.
<Sysname> system-view
[Sysname] info-center loghost ipv6 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