beautypg.com

Create log output – Allied Telesis AT-S62 User Manual

Page 262

background image

Chapter 17: Event Log and Syslog Server Commands

262

CREATE LOG OUTPUT

Syntax

create log output=id_number destination=syslog
server=ipaddress
[facility=default|local1|local2|local3|local4|loc
al5|local6|local7] [syslogformat=extended|normal]

Parameters

output

Specifies an ID number for the new syslog server
definition. The range is 2 to 20. Each definition must
be given a unique ID number.

destination

Specifies the destination for the event 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 the syslog facility levels 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 2 on
page 264. 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 3
on page 265.

syslogformat

Specifies the format of the events. The possible

options are:

extended

Sends the severity, module, and
description, date, time, and switch’s IP
address. This is the default.

normal

Sends the severity, module, and
description.