ESR service routers. ESR-Series. Functionality description. Version 1.12.0
395
•
•
•
•
•
•
•
•
•
11.5.1 Configuration algorithm
Step
Description
Command
Keys
1
Set the level of syslog messages
that will be sent to the snmp
server in the form of snmp-trap.
esr(config)# syslog
snmp <SEVERITY>
<SEVERITY> – message importance
level, takes values (in order of
decreasing importance):
emerg
– critical error has
occurred in the system, the
system is not operational;
alert
– alarms, immediate
intervention by staff;
crit
– critical system status, event
reporting;
error
– error messages;
warning
– warnings, non-
emergency messages;
notice
– messages about
important system events;
info
– system information
messages;
debug
– debugging messages
provide the user with information
to correctly configure the system;
none
– disables the output of
syslog messages to the console.
2
Set the level of syslog messages
that will be displayed during
remote connections (Telnet, SSH)
(optionally)
esr(config)# syslog
monitor <SEVERITY>
3
Enable the process of logging user
commands entered to the local
syslog server (optionally)
esr(config)# syslog
cli-commands
4
Enable the saving of syslog
messages of a specified level of
importance to the specified log
file
esr(config)# syslog
file <NAME>
<SEVERITY>
<NAME> – name of the file to which
messages of a given level will be
recorded, specified by the string up to 31
characters;
<SEVERITY> is described in syslog snmp
command.
5
Specify the maximum size of the
log file (optionally)
esr(config)# syslog
file-size <SIZE>
<SIZE> – file size, takes the value
[10..10000000] KB
6
Set the maximum number of files
saved during rotation (optionally)
esr(config)# syslog
max-files <NUM>
<NUM> – maximal numberf of files ,
takes values [1 .. 1000]