Download Operation Manual CLI
Transcript
Operation Manual CLI
29.1.2
System Logger (Syslog)
Syslog Output Level with a Priority
Use the following commands, to configure syslog messages depending on severity
level, output redirection, and prioritized facility type generating the message.
Command
Mode
Function
syslog output priority
{ auth | authpriv | cron | daemon | kern | local1 | local2 | local3 |
local4 | local5 | local6 | local7 | lpr | mail | news | syslog | user |
uucp } { emerg | alert | crit | err | warning | notice | info } local
{ volatile | non-volatile }
Config
Transmits syslog message of configured level to specified
output with chosen priority.
Facility types:
auth: security/authorization message
authpriv: security/authorization message
cron: clock daemon
daemon: system daemons without separate facility value
kern: kernel messages
local1... local7: reserved for local use, see also 29.3 Setting the
local Facility Code
lpr: line printer subsystem
mail: mail subsystem
news: USENET news subsystem
syslog: messages generated internally by syslog
user: generic user-level messages
uucp: UUCP subsystem
Severity levels:
emerg: emergency(0)
alert: alert(1) or more serious
crit: critical(2) or more serious
err: error(3) or more serious
warning: warning(4) or more serious
notice: notice(5) or more serious
info: informational(6) or more serious
System logger output redirection:
Local output file (system memory):
volatile: deletes a syslog message after restart
non-volatile: reserves a syslog message
A.B.C.D: remote log host IP address
Use the no parameter with this command to disable specified
syslog output.
syslog output priority
{ auth | authpriv | cron | daemon | kern | local1 | local2 | local3 |
local4 | local5 | local6 | local7 | lpr | mail | news | syslog | user |
uucp } { emerg | alert | crit | err | warning | notice | info } remote
A.B.C.D
syslog output priority
{ auth | authpriv | cron | daemon | kern | local1 | local2 | local3 |
local4 | local5 | local6 | local7 | lpr | mail | news | syslog | user |
uucp } { emerg | alert | crit | err | warning | notice | info } console
29.2
Binding an IP Address
Use the following command, to specify an IP address that is attached to the syslog
message for its identity.
Command
syslog bind-address A.B.C.D
no syslog bind-address
29.3
Mode
Config
Function
Specifies IP address for a syslog message identity.
A.B.C.D: IP address.
Deletes a specified binding IP address.
Setting the local Facility Code
Setting a facility code makes a generated syslog message distinguished from others, so
that a network administrator can efficiently handle various syslog messages.
To set a facility code, use the following command.
Id:0900d805802217ed
261