Efficient Networks 107-0001-000 manual Date, All R/W, Mma Month

Models: 107-0001-000

1 516
Download 516 pages 19.79 Kb
Page 38
Image 38

Chapter 2: Status Commands

Efficient Networks® Router family

 

Command Line Interface Guide

 

 

date

Displays or changes the current date on the router’s clock. To change the current time, use the time command.

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 sntp offset command.

To see the current date and time on the router clock, enter date with no parameters:

Mgmt Class

All (R/W)

Input Format

date <mm/dd/yy>

Parameters

<mm>a Month

<dd>b Day

<yy>c Year

aInteger 1-12

bInteger 1-31

cInteger, indicating a year from 1968 through 2034. Thus, 1/1/4 is January 1, 2004, 1/1/33 is January 1, 2033, and 1/1/78 is January 1, 1978.

Response

Display when date is entered with no parameters.

-> date

BootTime:

7/1/2001 at 15:42:42

Current time: 7/1/2001 at 15:49:16

Display when date is entered with parameters.

-> date 7/1/1

Time set to UTC-420, 7/1/2001 at 15:59:29

Time adjusted for (-) 0 days 0 hours 10 minutes 13 seconds

Page 2-8

Efficient Networks®

Page 38
Image 38
Efficient Networks 107-0001-000 manual Date, All R/W, Mma Month, Display when date is entered with no parameters