Command Reference Guide

202info-center loghost source 3Com Router 5000 Family and Router 6000 Family
Command Reference
info-center loghost source
Purpose Use the info-center loghost source command to specify the source address
in the packets destined to the log host.
Use the undo info-center loghost source command to cancel the current
configuration.
Syntax info-center loghost source interface-type interface-number [
subinterface-type ]
undo info-center loghost source
Parameters interface-type
Interface type.
interface-number
Number of the interface.
subinterface-type
Subinterface type.
Example Set the IP address of loopback 0 as the source address of the log messages.
[3Com] interface loopback 0
[3Com-LoopBack0] ip address 1.1.1.1 255.255.255.0
[3Com-LoopBack0] quit
[3Com] info-center loghost source loopback 0
View This command can be used in the following views:
System view
Description When a log message is sent out a router, its source address defaults to the IP address
of the interface where it is sent. You can change this address however using this
command. By assigning different source addresses to the packets sent by different
routers, you can discriminate them for retrieval convenience.