И вторая проблема, на этом-же аппарате:
Цитата:
Command: show sntp
Current Time Source : IPv4 Primary SNTP Server
SNTP Status : Enabled
IPv4 Primary SNTP Server : 172.20.х.х
IPv4 Secondary SNTP Server: None
IPv6 Primary SNTP Server : None
IPv6 Secondary SNTP Server: None
SNTP Poll Interval : 720 sec
DGS-3120-24SC:admin#sh time
Command: show time
Current Time Source : IPv4 Primary SNTP Server
Boot Time : 29 Nov 2013 20:27:03
Current Time : 30 Nov 2013 18:32:25
Time Zone : GMT +04:00
Daylight Saving Time : Disabled
Offset In Minutes : 60
Repeating From : Apr 1st Sun 00:00
To : Oct last Sun 00:00
Annual From : 29 Apr 00:00
To : 12 Oct 00:00
Все показания верные.
+ имеем такие настройки syslog:
Цитата:
Command: show syslog
Syslog Global State: Enabled
DGS-3120-24SC:admin#sh syslog h
Command: show syslog host
Syslog Global State: Enabled
Host 1
IP Address : 172.20.х.х
Severity : Informational(6)
Facility : Local0
UDP Port : 514
Status : Enabled
Total Entries : 1
Тоже все верно.
А вот на сервер syslog сообщения прилетают с разницей в штампе времени в 4 часа. Т.е. не учитывается параметр Time Zone.
В логах свичи:
Command: show log
Index Date Time Level Log Text
----- ---------- -------- ------- ----------------------------------------------
42 2013-11-30 18:15:39 INFO(6) Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
41 2013-11-30 18:15:12 WARN(4) Unauthenticated IP-MAC address and discarded by IMPB(IP:<172.2х.х.20>, MAC:<AC-F1-DF-0E-B2-D3>, Port<1:1>)
40 2013-11-30 18:10:56 INFO(6) Successful login through Telnet (Username:х.х, IP: 172.х.х.х)
39 2013-11-30 18:05:22 INFO(6) Telnet session timed out (Username: х.х,IP: 172.х.х.х)
38 2013-11-30 17:55:22 WARN(4) Unauthenticated IP-MAC address and discarded by IMPB(IP:<172.2х.х.х>, MAC:<AC-F1-DF-0E-B2-D3>, Port<1:1>)
37 2013-11-30 17:54:53 INFO(6) Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
36 2013-11-30 17:53:00 INFO(6) Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
35 2013-11-30 17:45:17 WARN(4) Unauthenticated IP-MAC address and discarded by IMPB(IP:<172.2х.х.х>, MAC:<AC-F1-DF-0E-B2-D3>, Port<1:1>)
На Сислог-сервере:
2013-11-30 14:15:39 Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
2013-11-30 14:15:12 Unauthenticated IP-MAC address and discarded by IMPB(IP:<172.х.х.х>, MAC:<AC-F1-DF-0E-B2-D3>, Port<1:1>)
2013-11-30 14:05:22 Telnet session timed out (Username: х.х, IP: 172.х.х.х)
2013-11-30 13:34:56 Logout through Telnet (Username: х.х, IP: 172.х.х.х)
2013-11-30 13:45:08 Successful login through Telnet (Username: х.х, IP: 172.х.х.х)
2013-11-30 13:45:17 Unauthenticated IP-MAC address and discarded by IMPB(IP:<172.х.х.х>, MAC:<AC-F1-DF-0E-B2-D3>, Port<1:1>)
2013-11-30 13:53:00 Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
2013-11-30 13:54:53 Unit 1, Configuration saved to flash (Username: х.х, IP: 172.х.х.х)
Рядом стоит DGS-3420 с такими-же настройками и все работает как положено.
Как исправить ?