SRX

last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Correct timestamp on logs

    Posted 04-05-2014 09:39

    Good morning support community,

     

    I'm hoping that you can help me with my NTP/Logging issue. I'm new to JunOS, I come from a cisco background, I'm trying to configure an SRX with the proper NTP settings and logging. I noticed that my logs time stamp do not match what my system time is? how can I propertly configured it so that it reflects the correct time my system and logs?

     

    delmiro@srx100# run show system uptime
    Current time: 2014-04-05 11:29:40 UTC
    System booted: 2014-04-05 11:06:39 UTC (00:23:01 ago)

    delmiro@srx100# run show log messages
    Apr 5 15:52:37 srx100 clear-log[1866]: logfile cleared
    Apr  5 16:05:11  srx100 shutdown: reboot by delmiro:
    Apr  5 16:05:11  srx100 init: watchdog (PID 1405) terminate signal sent
    Apr  5 16:05:11  srx100 init: bslockd (PID 1406) terminate signal sent

     

    Here are the commands on my device

    set system time-zone UTC+5

    set system ntp boot-server 169.229.70.201
    set system ntp server 169.229.70.201 prefer
    set system ntp server 72.20.40.62
    set system syslog archive size 100k
    set system syslog archive files 3
    set system syslog user * any emergency
    set system syslog file messages any critical
    set system syslog file messages authorization info
    set system syslog file interactive-commands interactive-commands error
    set system syslog console any emergency
    set system syslog time-format




  • 2.  RE: Correct timestamp on logs

     
    Posted 04-05-2014 23:04

    Hello

     

    I reckon NTP sync might not be happening properly.

    Please refer below KB to set dat, configure and troubleshoot NTP sync:

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB15756

     

    Regards,

    Raveen



  • 3.  RE: Correct timestamp on logs

    Posted 04-06-2014 10:52

    I tried different things from that article until I changed the time zone from time-zone UTC-6 to America/Chicago and then all logs are now in "sync" with the system clock, I think there is something that needs to be configured when using UTC for the logs timestamp to match the system clock. This will work, thanks.