C613-50100-01 REV C Command Reference for x930 Series 367
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
LOGGING COMMANDS
LOG
HOST
log host
Overview This command configures the device to send log messages to a remote syslog
server via UDP port 514. The IP address of the remote server must be specified. By
default no filters are defined for remote syslog servers. Filters must be defined
before messages will be sent.
Use the no variant of this command to stop sending log messages to the remote
syslog server.
Syntax
log host <ipv4-addr>|<ipv6-addr> [secure]
no log host <ipv4-addr>|<ipv6-addr>
Mode Global Configuration
Usage Use the optional secure parameter to configure a secure syslog host. For secure
hosts, syslog over TLS is used to encrypt the logs. The certificate received from the
remote log server must have an issuer chain that terminates with the root CA
certificate for any of the trustpoints that are associated with the application.
The remote server may also request that a certificate is transmitted from the local
device. In this situation the first trustpoint added to the syslog application will be
transmitted to the remote server.
Examples To configure the device to send log messages to a remote secure syslog server with
IP address 10.32.16.99 use the following commands:
awplus# configure terminal
awplus(config)# log host 10.32.16.99 secure
To stop the device from sending log messages to the remote syslog server with IP
address 10.32.16.99 use the following commands:
awplus# configure terminal
awplus(config)# no log host 10.32.16.99
Related
Commands
default log host
log host (filter)
log host exclude
log host source
Parameter Description
<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.
secure Optional value to create a secure log destination