beautypg.com

Create log output – Allied Telesis AT-S62 User Manual

Page 234

background image

Chapter 14: Event Log and Syslog Server Commands

234

Section II: Advanced Operations

CREATE LOG OUTPUT

Syntax

create log output=

output-id

destination=syslog

server=

ipaddress

[facility=default|local1|local2|local3|local4|local5|local6
|local7] [syslogformat=extended|normal]

Parameters

output

Specifies an ID number for the new output definition.
The range is 2 to 20. (The ID 1 is reserved for
temporary (dynamic) storage.)

destination

Specifies the destination for the log messages. The
only option currently supported is:

syslog

Forwards log messages in syslog format
to a syslog server.

server

Specifies the IP address of the syslog server.

facility

Specifies a facility level to be added to the events.

default

Adds a facility level based on the

functional groupings defined in the RFC
3164 standard. The codes applicable to
the AT-S62 management software and
its modules are shown in Table 6 on
page 236. This is the
default setting.

local1 to local7

Adds a set facility code of 17 (LOCAL1)
to 23 (LOCAL7) to all event messages.
For a list of the levels and their
corresponding codes, refer to Table 7
on page 236.

syslogformat

Specifies the format of the generated messages. The

possible options are:

extended

Messages include the date, time, and
system name. This is the default.

normal

Messages do not include the date, time,
and system name.