Setting the Date and Time on NetScaler

Setting the Date and Time on NetScaler

Setting the Date and Time on NetScaler

This post has already been read 10359 times!

Summary

This article describes how to set the date and time of the NetScaler system. This is done through the NetScaler shell by issuing a shell command from the NetScaler CLI prompt.

Netscaler - Powering the cloud.

Netscaler – Powering the cloud.

Procedure

Displaying the Date and Time

1. Launch a session to the NetScaler.

2. From the NetScaler CLI, issue the shell command:

shell
Last login: Thu Feb 23 09:20:06 on ttyp0
root@ns#

3. At the UNIX prompt, issue the date command to display the current date:

root@ns# date
Thu Feb 23 09:41:37 PST 2006

Changing the Time Only

When setting the time on the NetScaler system it must be specified based on a 24-hour clock.

The format is: date HHMM

• HH – The hour of the day, from 0 to 23

• MM – The minute of the hour, from 0 to 59

Example:

root@ns# date 1345
Thu Feb 23 13:45:00 PST 2006

Note: The seconds are not used when setting the time only.

Changing the Date and Time

When setting the date, the time must also be set. The format is: date ccyymmddHHMM

• cc – The first two digits of the year (the century)

• yy – The second two digits of the year

• mm – The month of the year, from 1 to 12

• dd – The day of the month, from 1 to 31

• HH – The hour of the day, from 0 to 23

• MM – The minute of the hour, from 0 to 59

• ss – The second of the minute, from 0 to 59 (optional).

Example:

root@ns# date 200603011345
Wed Mar 1 13:45:00 PST 2006

Leave a Reply

Your email address will not be published. Required fields are marked *