Chapter 17: Event Log and Syslog Server Commands

CREATE LOG OUTPUT

Syntax

create log output=id_number destination=syslog server=ipaddress [facility=defaultlocal1local2local3local4loc al5local6local7] [syslogformat=extendednormal]

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.

262

Page 262
Image 262
Allied Telesis management software layer 2+ fast ethernet switches manual Create LOG Output