HP VPN Firewall Appliances System Management and Maintenance Command Reference

98
Parameters
vpn-instance vpn-instance-name: Specifies a VPN by its name, a case-sensitive string of 1 to 31
characters. If the log host is on the public network, do not specify this option.
ipv6 host-ipv6-address: Specifies the IPv6 address of a log host.
host-ipv4-address: Specifies the IPv4 address of a log host.
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 information
about configuring 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.
Usage guidelines
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.
Enter a correct log host IP address. The system prompts an invalid address if you enter an incorrect IP
address, such as an IPv6 loopback address or a broadcast address.
The device supports up to four log hosts.
Examples
# O u t p u t l o g i n f o r m a t i o n t o t h e l o g h o s 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 the log host 1::1.
<Sysname> system-view
[Sysname] info-center loghost ipv6 1::1
info-center loghost source
Use info-center loghost source to specify the source IP address for output log information.
Use undo info-center loghost source to restore the default.
Syntax
info-center loghost source interface-type interface-number
undo info-center loghost source