Info-Center Loghost Source - H3C S7500E Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN 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.
dscp dscp-value: Specifies the DSCP value for packets sent to the log host, in the range of 0 to 63. The
default setting is 0. This option is available in S7500E Release 6703, S7508E-X Release 6903, and their
later versions.
channel: Specifies the channel through which system information can be 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 the logging facility of the log host. The value can be local0 to local7 and
defaults to local7. Logging facilities are used to mark different logging sources, and query and filer logs.
Usage guidelines
The info-center loghost command takes effect only after the information center is enabled with the
info-center enable command.
Enter a correct log host IP address. The system prompts an invalid address if the loopback address
127.0.0.1 is entered.
The switch supports up to four log hosts.
If you enable system information output to a log host without specifying a channel, the system uses
channel 2 (loghost) by default.
Examples
# Output log information to the log host 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 with the IPv6 address of 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
67

Advertisement

Table of Contents
loading

Table of Contents