Allied Telesis AT-S62 User Manual
Page 265
AT-S62 Command Line User’s Guide
265
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.
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
Table 3 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