...
Блок кода |
---|
esr# show syslog
Name Size Date of last modification
---------------------------------------- -------- -- -------------------------
flash:critlog/log 113.48 KB 2024-06-27 10:14:50
flash:critlog/log.1 499.99 KB 2023-12-17 02:33:04
flash:critlog/reload_reason.txt 78.00 B 2024-06-06 10:01:27
tmpsys:syslog/auth.log 62.11 KB 2024-07-02 08:33:20
Total files: 4
esr# show syslog configuration
SYSLOG
File size: 512 (kiB)
Number of logs: 3
Console: info
Files:
~~~~~~
ID Name Severity
-- -------------------------------- ----------
0 esr info |
...
show syslog configuration
Параметры
...
[ console | files [<FILE>] | firewall | hosts [<NAME>] | monitor | snmp ]
Параметры
console – конфигурация syslog-событий при консольном подключении;
files – информация о файлах для записи syslog-событий;
firewall – конфигурация syslog-событий межсетевого экрана;
hosts – вывод информации о хостах, на которые передаются syslog-журналы;
monitor – вывод конфигурации монитора syslog-журнала;
snmp – вывод конфигурации snmp syslog-журнала.
Необходимый уровень привилегий
...
Блок кода |
---|
esr# show syslog configuration Syslog: SYSLOG File size: 500 (kiB) Number of logs: 1 Console: info Monitor: info Write sequence numbers: Disabled Write msec in timestamp: Disabled Write program names: Disabled Log syslog configuration changes: Disabled Debug severity on reload: Disabled Console: Console severity: info Console filters defined: Disabled Monitor: Monitor severity: info Monitor filters defined: Disabled User Info: Log AAA configuration changes: Disabled Log ACL configuration changes: Disabled Log user info changes: Disabled Log user commands: Disabled Log failed authentication attempts: Disabled IPS: IPS severity: info SNMP: SNMP trap status: Disabled SNMP severity: info SNMP filters defined: Disabled Network: Log IPv4 BFD neighbor changes: Disabled Log IPv4 BGP neighbor changes: Disabled Log IPv4 OSFP neighbor changes: Disabled Log IPv6 BFD neighbor changes: Disabled Log IPv6 BGP neighbor changes: Disabled Log IPv6 OSFP neighbor changes: Disabled Log NAT source: Disabled Log NAT destination: Disabled Log HTTP proxy: Disabled NTP peer logging: Disabled SLA: Log SLA delay: Disabled Log SLA error: Disabled Log SLA jitter: Disabled Log SLA losses: Disabled Log SLA status: Disabled Firewall: Log firewall configuration changes: Disabled Log firewall screen: Disabled Detailed firewall screen logging: Disabled Files: ~~~~~~ Name Severity Filters -------------------------------- ---------- -------- tmpsys:syslog/DHCP Info Yes tmpsys:syslog/debug Debug No tmpsys:syslog/NOT-DHCP Info Yes tmpsys:syslog/test Debug Yes Hosts: ~~~~~~ Name IP Address Severity Transport Port Filters ---------------------- ----------------------------- -------- --------- ----- -------- syslog_host 192.168.1.2 Info UDP 514 No |
syslog cli-commands
Данной командой включается процесс логирования введённых команд пользователя на локальный syslog-сервер.
...