R3102-R3103-HP 6600/HSR6600 Routers Network Management and Monitoring Command Reference
217
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 the loopback address
127.0.0.1 is entered.
The router 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 I P v 4 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 IPv4 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 IPv6 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
Default
The source IP address of output log information is the primary IP address of the matching route's egress
interface.
Views
System view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies the egress interface for log information by the interface type
and interface number.










