— Untuk mengatur jam di dalam system ACS bisa menggunakan 2 cara, yaitu dengan ntp server atau secara manual. Untuk konfigurasi system clock dengan manual dengan command seperti ini : clock { set } [ month day hh:min:ss yyyy ].
Di bawah ini adalah Deskripsi Syntax nya :
set : Sets the system clock.
month : Current month of the year by name. Up to three alphabetic characters. For example, Jan for January.
day : Current day (by date) of the month. Value = 0 to 31. Up to two numbers.
hh:mm:ss : Current time in hours (24-hour format), minutes, and seconds.
Contoh untuk konfigurasi nya :
acs/admin# clock set Jan 7 15:17:00 2024
Clock was modified. You must restart ACS.
Do you want to restart ACS now? (yes/no) yes
Stopping ACS ……………..
Starting ACS ………………….
acs/admin#
Untuk melihat jam yang sudah di konfig
acs/admin# show clock
Thu Jan 7 15:17:00 UTC 2024
acs/admin#
Melihat timezone
acs/admin# show timezone
UTC
acs/admin#
Melihat timezone
acs/admin# show timezones
PST8PDT
Hongkong
Etc/GMT-7
Etc/GMT-12
Etc/GMT-4
Etc/GMT-13
Etc/GMT-11
Etc/GMT-1
Etc/GMT+5
Etc/GMT-14
Etc/GMT+11
Etc/GMT+6
Etc/Zulu
Etc/GMT+7
Etc/Universal
Etc/GMT-2
Etc/GMT+10
Etc/GMT-8
Etc/GMT+8
Etc/GMT+1
Etc/GMT0
Etc/GMT+9
Etc/GMT+3
Etc/GMT-3
Etc/GMT
Etc/GMT-5
Etc/GMT-0
Etc/GMT-6
Etc/GMT+4
Etc/GMT-9
Etc/GMT+12
–More– (Press Enter or Spacebar)
Mengubah timezone
acs/admin(config)# clock timezone EST
Time zone was modified. You must restart ACS.
Do you want to restart ACS now? (yes/no)
Stopping ACS ……………..
Starting ACS ………………….
acs/admin(config)# exit
acs/admin# show timezone
EST
acs/admin#
— Untuk ntp server konfigurasinya sebagai berikut :
ntp server { ip-address | hostname } [ ip-address | hostname ]
ip-address | hostname : IP address or hostname of the server providing the clock synchronization. Arguments are limited to 255 alphanumeric characters.
acs/admin(config)# ntp server 10.1.187.2
NTP Server was modified. You must restart ACS.
Do you want to restart ACS now? (yes/no) yes
Stopping ACS ………………….
Starting ACS ………………….
To verify that ACS processes are running, use the
‘show application status acs’ command.
acs/admin(config)#

0 Comments