Allied Telesis AT-S63 User Manual

Page 229

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

Section II: Advanced Operations

229

For example, selecting LOCAL2 as the facility level assigns the numerical
code of 18 to all events sent to the syslog server by the switch.

The SYSLOGFORMAT parameter defines the content of the events.

Examples

The following command creates output definition number 10, sends the
messages to a syslog server in normal format with a facility level setting of
LOCAL6:

create log output=10 destination=syslog server=149.65.10.99
facility=local6 syslog format=normal

The following command creates output definition number 18 and sends all
of the messages to the syslog server. Because the FORMAT option is
omitted from the command, the messages are sent in extended format,
which is the default:

create log output=18 destination=syslog server=149.65.10.101

Table 6. Numerical Code and Facility Level Mappings

Numerical

Code

Facility Level Setting

17

LOCAL1

18

LOCAL2

19

LOCAL3

20

LOCAL4

21

LOCAL5

22

LOCAL6

23

LOCAL7

Advertising