Facility Code; Syslog Bind Address - Siemens S223 User Manual

Siemens single-board fast ethernet switch operators user manual
Table of Contents

Advertisement

User Manual
SURPASS hiD 6615 S223/S323 R1.5
7.5.2
7.5.3
A50010-Y3-C150-2-7619
The following is an example of configuring syslog message to send all logs higher than
notice to remote host 10.1.1.1 and configuring local1.info to transmit to console.
SWITCH(config)# syslog output notice remote 10.1.1.1
SWITCH(config)# syslog output priority local1 info console
SWITCH(config)# show syslog
System logger on running!
info
info
notice
local1.info
SWITCH(config)#

Facility Code

You can set a facility code of the generated syslog message. This code make a syslog
message distinguished from others, so network administrator can handle various syslog
messages efficiently.
To set a facility code, use the following command.
Command
syslog local-code <0-7>
no syslog local-code
The following is an example of configuring priority of all syslog messages which is trans-
mitted to remote host 10.1.1.1, as the facility code 0.
SWITCH(config)# syslog output err remote 10.1.1.1
SWITCH(config)# syslog local-code 0
SWITCH(config)# show syslog
System logger on running!
info
info
err
local_code
SWITCH(config)#

Syslog Bind Address

You can specify IP address to attach to the syslog message for its identity. To specify IP
address for syslog identity, use the following command.
Command
syslog bind-address A.B.C.D
no syslog bind-address
local volatile
local non-volatile
remote 10.1.1.1
console
Mode
Sets a facility code.
Global
Deletes a specified facility code.
local volatile
local non-volatile
remote 10.1.1.1
0
Mode
Specifies IP address for a syslog message identity.
Global
Deletes a specified binding IP address.
UMN:CLI
Description
Description
137

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S323Surpass hid 6615 s223Surpass hid 6615 s323 r1.5

Table of Contents