Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to set the correct time from uboot



Article ID: KB31340 KB Last Updated: 28 Mar 2017Version: 1.0
On EX2300 and EX3400 platforms, if the switch has been powered off for a couple of days, it boots with the default date of 1970-01-01 when it is again powered on. If NTP is configured on the switch at this time, the system clock might be set to an incorrect date---for example, 2038-01-01---which results in all protocols and timer-related functionality being affected. This article describes how to set the correct time from uboot.

In order to set the correct time, execute the following steps:

  1. Delete the NTP configuration.
  2. Reboot the device and enter the boot mode by pressing Control+C.

  3. Set the date in the following format:

    eg: => rtc set yymmdd hhmmss

  4. Reset:

    => reset
  5. Confirm with the CLI command o/p show system uptime  that the time is same as that set from u-boot.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search