AT-S62 Command Line User’s Guide

Another option is to assign all events from a switch the same numerical code using the LOCAL1 to LOCAL2 options. Each option represents a predefined RFC 3164 numerical code. The code mappings are listed in Table 3.

Table 3 Numerical Code and Facility Level Mappings

Numerical

Facility Level Setting

Code

 

17LOCAL1

18LOCAL2

19LOCAL3

20LOCAL4

21LOCAL5

22LOCAL6

23LOCAL7

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 a syslog server definition with an ID number 10. The IP address of the server is 149.65.10.999 and the messages are sent in normal format with a facility code of 22:

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

The following command creates output definition number 18. The messages are sent to the syslog server in extended format:

create log output=18 destination=syslog server=149.65.10.101 syslogformat=extended

265

Page 265
Image 265
Allied Telesis management software layer 2+ fast ethernet switches manual LOCAL1 LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7