Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Time and date
CLI Guide | Forcepoint Appliances | v8.5.x
All servers in your deployment that host TRITON Architecture components must be synchronized to within 2 minutes. Use of an NTP server is recommended.
show system clock
View the system date and time.
show system clock
Command modes
All products.
Usage guidelines
The time and date format is:
yyyy/mm/dd
hh:mm:ss
Related commands
 
set system clock
Set system time and date manually.
set system clock --date <yyyy/mm/dd> --time <hh:mm:ss>
 
Command modes
All products. Not supported in Azure.
Usage guidelines
Stop all Forcepoint services before changing the time. Then, set the time and make certain the time is consistent across all servers running services. Finally, start appliance services.
If you do not stop the Forcepoint services first, client updates and policy changes entered after the time reset are not saved.
Instead of setting the time manually, you can synchronize with a Network Time Protocol (NTP) server. See set system ntp.
Related commands
 
show system timezone
View the configured time zone.
show system timezone
Command modes
All products.
Examples
(view)# show system timezone
Timezone: (GMT-08:00) Pacific Time (US & Canada)
Related commands
 
show system timezone-list
View supported time zone formats.
show system timezone-list
Command modes
All products.
Examples
(view)# show system timezone-list
Index Zone Name
----------------------------------------
1 (GMT-11:00) Midway Island, Samoa
2 (GMT-10:00) Hawaii
3 (GMT-09:00) Alaska
...
Related commands
 
set system timezone
Set the time zone for this appliance.
set system timezone --zone <zone_name> --index <zone_index>
 
Command modes
All products.
Usage guidelines
Greenwich Mean Time (GMT), the default, is also known as Universal Time, Coordinated (UTC). Other time zones are calculated by adding or subtracting from GMT. GMT is sometimes chosen to provide a common time stamp for geographically distributed systems.
Examples
Example of setting the time zone using the zone name:
(config)# set system timezone --zone "Central Time"
(config)# show system timezone
Timezone: (GMT-06:00) Central Time (US & Canada)
Example of setting the time zone using the zone index number:
(config)# set system timezone --index 9
(config)# show system timezone
Timezone: (GMT-06:00) Central Time (US & Canada)
Related commands
 
show system ntp
View the configured NTP servers.
show system ntp
Command modes
All products.
Related commands
 
set system ntp
Configure time zone synchronization with up to three NTP servers.
set system ntp --status <enabled|disabled> --server <server1> [<server2>,<server3>]
 
Command modes
All products. Not supported in Azure.
Usage guidelines
To synchronize with a Network Time Protocol (NTP) server (www.ntp.org), set the status to enabled and enter the address of a primary NTP server. The secondary and tertiary NTP servers are optional.
If you synchronize the system clock with an NTP server, NTP protocol packerts and their response packets must be allowed on any firewall or NAT device between an appliance and the NTP server. Ensure that you have outbound connectivity to the NTP servers. Add a firewall rule that allows outbound traffic to UDP port 123 for the NTP server.
If interface C on an appliance is not connected to the Internet, then you must provide a way for interface C to reach an NTP server. One solution is to install an NTP server on the local network where interface C can reach it.
Examples
(config)# set system ntp --status enabled --server 1.us.pool.ntp.org,2.us.pool.ntp.org,3.pool.ntp.org
Related commands
 
sync system ntp
Synchronize the time with the NTP servers.
sync system ntp
Command modes
All products. Not supported in Azure.
Usage guidelines
Use this command to manually synchronize the time with the NTP servers.
Related commands
 

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2020 Forcepoint. All rights reserved.