beautypg.com

Log host time – Allied Telesis AT-DC2552XS User Manual

Page 165

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section I: Switch Management

165

LOG HOST TIME

Syntax

log host

ipv4_address

time local|local-offset|utc-offset

plus|minus

hours

Parameters

ipv4_address

Specifies the IPv4 address of the syslog server.

local

Specifies that the time settings of the switch and syslog server are
the same. This is the default setting. When specifying the key word
“local,” do not specify any of the following parameters.

local-offset

Specifies that the time settings of the switch and syslog server are
different. Specify the time difference with the plus or minus key
words followed by the number of hours.

utc-offset

Specifies the time setting for the syslog server and the Coordinated
Universal Time (UTC) are different. Specify the time difference with
the plus or minus key words followed by the number of hours.

plus

Adds the number of hours to the local-offset or utc-offset.

minus

Subtracts the number of hours from the local-offset or utc-offset.

hours

Specifies the number of hours that you want to add to or subtract
from the local-offset or utc-offset. The range is 1 to 24.

Mode

Global Configuration mode

Description

Use this command to specify the time for the event messages that are sent
to the syslog server. When the time settings of the switch and the syslog
server are different, the switch uses the time specified by this command
for event messages sent to the syslog server.