Log Host Time - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

L
C
OGGING
OMMANDS

LOG HOST TIME

log host time
Overview
This command configures the time used in messages sent to a remote syslog
server. If the syslog server is in a different time zone to your device then the time
offset can be configured using either the utc-offset parameter option keyword or
the local-offset parameter option keyword, where utc-offset is the time
difference from UTC (Universal Time, Coordinated) and local-offset is the
difference from local time.
log host <email-address> time {local|local-offset|utc-offset
Syntax
{plus|minus} <0-24>}
Default
The default is local time.
Mode
Global Configuration
Usage
Use the local option if the remote syslog server is in the same time zone as the
device. Messages will display the time as on the local device when the message
was generated.
Use the offset option if the email recipient is in a different time zone to this device.
Specify the time offset of the remote syslog server in hours. Messages will display
the time they were generated on this device but converted to the time zone of the
remote syslog server.
To send messages to the remote syslog server with the IP address 10.32.16.21
Examples
in the same time zone as the device's local time zone, use the following
commands:
awplus#
awplus(config)#
C613-50186-01 Rev B
Parameter
Description
<email-address> The email address to send log messages to
time
Specify the time difference between the email recipient and the
device you are configuring.
local
The device is in the same time zone as the email recipient
local-offset
The device is in a different time zone to the email recipient. Use
the plus or minus keywords and specify the difference (offset)
from local time of the device to the email recipient in hours.
utc-offset
The device is in a different time zone to the email recipient. Use
the plus or minus keywords and specify the difference (offset)
from UTC time of the device to the email recipient in hours.
plus
Negative offset (difference) from the device to the syslog server.
minus
Positive offset (difference) from the device to the syslog server.
<0-24>
World Time zone offset in hours
configure terminal
log host 10.32.16.21 time local 0
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
333

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents