Configuring NTP and the Time Zone Parameter


NOTE:

NTP does support IPv6.

Configuring the NTP Server IP Address

The L2/L3 switch synchronizes with the NTP server only when the configuration commands are committed using the commit command. User can change the NTP server's IP address, as shown below.

admin@XorPlus# set system ntp server-ip 192.168.10.100
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus#

Configuring the NTP Source Interface

NTP source interface is required if inband management interface is used to connect with the NTP server. Note that if the NTP source interface is not configured, the system will print an error log.

admin@XorPlus# set system ntp source-interface vlan-300
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus#

Configuring the Time Zone

Configure the time zone as follows (The time zone configured below is Pacific/Kosrae).

admin@XorPlus# set system timezone Pacific/Kosrae
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# 

Configuring the System Clock

admin@XorPlus> set date 2012.01.01-23:59
Sun Jan 1 23:59:00 UTC 2012
admin@XorPlus>

The clock will be set in the hardware.

Copyright © 2024 Pica8 Inc. All Rights Reserved.