Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 2: Status Commands
Efficient Networks
®
Page 2-29
time
Displays or changes the current time on the router’s clock. To change the current
date, use the command
date
.
Automatic SNTP requests are generated if the system needs to get the time. You can
specify an SNTP server using the command
sntp server
and a UTC offset with the
command
sntp offset
.
Mgmt Class
All (R/W)
Input Format
time <hh:mm:ss>
Parameters
Response
When entered with no parameters:
When entered with parameters:
***
When entered with no parameters, current time and date is
displayed.
<hh>
a
a
Integer, 1 - 23
Hour parameter.
<mm>
b
b
Integer, 0 - 59
Minute parameter.
<ss>
b
Second parameter.
-> time
BootTime: 5/18/2001 at 11:57:12
Current time: 5/18/2001 at 12:00:01
-> time 1:01:01
Time set to UTC-420, 5/18/2001 at 1:01:01.074
Time adjusted for (-) 0 days 11 hours 49 minutes 34 seconds