C613-50170-01 Rev B
Command Reference for x510 Series
430
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L
OGGING
C
OMMANDS
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.
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
Parameter
Description
<interface-name>
Specify the source interface name. You can enter a VLAN, eth
interface or loopback interface.
<ipv4-add>
Specify the source IPv4 address, in dotted decimal notation
(A.B.C.D).
<ipv6-add>
Specify the source IPv6 address, in X:X::X:X notation.