C613-50631-01 Rev A Command Reference for IE340 Series 464
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
LOGGING COMMANDS
LOG
HOST SOURCE
log host source
Overview Use this command to specify a source interface or IP address for the device to send
syslog messages from. You can specify any one of an interface name, an IPv4
address or an IPv6 address.
This is useful if the device can reach the syslog server via multiple interfaces or
addresses and you want to control which interface/address the device uses.
Note that AlliedWare Plus does not support source interface settings on secure log
hosts (which are hosts configured using “log host <ip-address> secure”).
Use the no variant of this command to stop specifying a source interface or
address.
Syntax
log host source {<interface-name>|<ipv4-addr>|<ipv6-addr>}
no log host source
Default None (no source is configured)
Mode Global Configuration
Example To send syslog messages from 192.168.1.1, use the commands:
awplus# configure terminal
awplus(config)# log host source 192.168.1.1
Related
commands
default log host
log host
log host (filter)
log host exclude
log host time
show log config
Parameter Description
<interface-name> Specify the source interface name. You can enter a VLAN, eth
interface or loopback interface.
<ipv4-addr> Specify the source IPv4 address, in dotted decimal notation
(A.B.C.D).
<ipv6-addr> Specify the source IPv6 address, in X:X::X:X notation.