beautypg.com

Using text commands – Westermo MR Series User Manual

Page 260

background image

260

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

Using Text Commands

From the command line, use the syslog command to configure or display Syslog settings. To display
current settings for the Syslog instance enter the following command:

syslog ?

where is 0-4.

The parameters and values are:

Parameter

Values

Equivalent Web Parameter

mode

UDP, TCP, RFC3195

Operation mode

port

0 - 65535

Port

server

IP address

Remote syslog server

source_ent

ETH, PPP

TCP source IP address interface

source_add

number

TCP source IP address interface #

tcp_to

number

TCP timeout

priority

all, 0 - 7

Priority Selections 0=Emergency
1=Alert 2=Critical 3=Error
4=Warning 5=Notice 6=Info
7=Debug

facility

all, 0 - 23

Facility Selections
0=Kernel
1=User
2=Mail
3=System
4=Auth
5=Syslog

6=Lptr
7=Nnews
8=Uucp
9=Clock
10=Auth2
11=FTP
12=NTP
13=LOGAUDIT
14=LOGALERT
15=CLOCK2
16=LOCAL0
17=LOCAL1
18=LOCAL2
19=LOCAL3
20=LOCAL4
21=LOCAL5
22=LOCAL6
23=LOCAL7

Priority and Facility selections can use the keyword “all“, specify an individual number e.g. “1”,
comma separated values e.g. “1,3,6,7”, a range of values e.g. “1-4” or a mixture of both e.g.
“0-3,2,5,9,11 14,19”.

For example, to change the destination of the Syslog 0 messages to 10.1.1.1 enter:

syslog 0 server 10.1.1.1

This manual is related to the following products: