SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
30
If not specified, the information channel for the loghost defaults to channel2 that
is named loghost, the loghost recording tool
local-number
to local7, and the
language to english.
Only when the information center has been enabled will this command become
effective.
By setting the IP address of loghost, you can specify the information outbound
direction. You can set up to 4 loghosts.
For related command, see
info-center enable, and display info-center
.
Example
Enable the router to send information to the UNIX workstation at 202.38.160.1.
[NEC-PHILIPS]
info-center loghost 202.38.160.1
info-center loghost
Syntax
source
info-center loghost source interface-type interface-number [ subinterface-
type ]
undo info-center loghost source
View
System view
Parameter
interface-type
: Interface types.
interface-number
: Number of the interface.
subinterface-name
: Subinterface types.
Description
The
info-center loghost source
command is used to specify the source
address for sending packets to the logging host while the
undo info-center
loghost source
command is used to cancel the current configuration. Undo
info-center loghost source is for the canceling of the current configuration.
When a logging message is sent out from a router, the default source address
is the IP address of the interface which has sent the logging message. If the
user wants to change the source address, he can use this command to
achieve it. You can judge which router has sent out the message by setting
different source addresses for different routers, accordingly you can also
search among the received messages.
Example
Set the IP address of Loopback0 as the source address of the logging
message packets.
[NEC-PHILIPS]
interface loopback 0
[NEC-PHILIPS-LoopBack0]
ip address 1.1.1.1 255.255.255.0
[NEC-PHILIPS-LoopBack0]
quit
[NEC-PHILIPS]
info-center loghost source loopback 0