### Juniper Date Time Show and set manually and from NTP server
To show date time
================
user1@router>show system uptime
Current time: 2014-04-03 11:34:26 BDT
System booted: 2014-01-15 11:48:29 BDT (11w0d 23:45 ago)
Protocols started: 2014-01-15 11:49:26 BDT (11w0d 23:45 ago)
Last configured: 2014-04-02 13:32:26 BDT (22:02:00 ago) by root
11:34AM up 77 days, 23:46, 2 users, load averages: 0.27, 0.70, 0.65
IN CLI MOde
set date YYYYMMDDHHMM.ss source-address
user1@myswitch# set date 201102151010.55
For example, the following command sets the date and time from an NTP server:
user1@myswitch# set date ntp 1.bd.pool.ntp.org
For example, the following command sets the date and time from more than one NTP server:
user1@myswitch# set date ntp 1.bd.pool.ntp.org 2.asia.pool.ntp.org
To show date time
================
user1@router>show system uptime
Current time: 2014-04-03 11:34:26 BDT
System booted: 2014-01-15 11:48:29 BDT (11w0d 23:45 ago)
Protocols started: 2014-01-15 11:49:26 BDT (11w0d 23:45 ago)
Last configured: 2014-04-02 13:32:26 BDT (22:02:00 ago) by root
11:34AM up 77 days, 23:46, 2 users, load averages: 0.27, 0.70, 0.65
IN CLI MOde
set date YYYYMMDDHHMM.ss source-address
user1@myswitch# set date 201102151010.55
For example, the following command sets the date and time from an NTP server:
user1@myswitch# set date ntp 1.bd.pool.ntp.org
For example, the following command sets the date and time from more than one NTP server:
user1@myswitch# set date ntp 1.bd.pool.ntp.org 2.asia.pool.ntp.org