Date, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 38: Parameters, Response, Date -8

Advertising
background image

Chapter 2: Status Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 2-8

Efficient Networks

®

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

Response

Display when date is entered with no parameters.

Display when date is entered with parameters.

<mm>

a

a

Integer 1-12

Month

<dd>

b

b

Integer 1-31

Day

<yy>

c

c

Integer, 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.

Year

-> date

BootTime:

7/1/2001 at 15:42:42

Current time:

7/1/2001 at 15:49:16

-> 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

Advertising