![H3C SR6600 SPE-FWM Скачать руководство пользователя страница 227](http://html1.mh-extra.com/html/h3c/sr6600-spe-fwm/sr6600-spe-fwm_command-reference-manual_574801227.webp)
219
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
# Output log information to the IPv4 log host 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.
Usage guidelines
The system uses the primary IP address of the specified egress interface as the source IP address of log
information no matter which physical interface is used to output the log information. If you want to
display the source IP address in the log information, you can configure it by using this command.
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...