system time configure
Step 2 Format timezone <timezone>
auto_daylight {Y | N}
resolv_ipv6_ddress {Y | N}
ntp_mode {Authoritative_Mode {stratum <number>} |
Sync_to_NTP_Servers_on_Internet | Sync_to_NTP_Servers_on_VPN}
{vpn_policy <vpn policy name>}}
set_date_time_manually {N | Y {ntp_hour <hour> | ntp_minutes
<minutes> | ntp_seconds <seconds> | ntp_day <day> | ntp_month
<month> | ntp_year <year>}}
use_default_servers {Y | N}
configure_ntp_servers {Y | N {ntp_server1 {<ipaddress> |
<domain name>}} {ntp_server2 {<ipaddress> | <domain name>}}}
Mode system-config [time]
Keyword Associated Keyword to Select or Parameter to Type
Description
timezone timezone keyword For a list of time zones that you can enter, see Table 11.
auto_daylight Y or N Enables or disables automatic adjustment for daylight savings time.
resolv_ipv6_ddress Y or N Specifies whether or not the VPN firewall automatically resolves a domain name for an NTP server to an IPv6 address:
• Y. A domain name is resolved to an IPv6 address.
• N. A domain name is resolved to an IPv4 address.
ntp_mode Authoritative_Mode, Sync_to_NTP_Servers_on _Internet, or
Sync_to_NTP_Servers_on _VPN
Specifies the NTP mode:
• Authoritative_Mode. The VPN firewall synchronizes its clock with the specified NTP server or servers on the Internet. If external servers are unreachable, the VPN firewall’s real-time clock (RTC) provides time service to clients. Issue the stratum keyword to specify the stratum value. As an option, issue the set_date_time_manually value keyword to enable manual configuration of the date and time.
• Sync_to_NTP_Servers_on_Internet. The VPN firewall synchronizes its clock with the specified NTP server or servers on the Internet. If external servers are unreachable, the VPN firewall does not use its RTC.
• Sync_to_NTP_Servers_on_VPN. The VPN firewall synchronizes its clock with the specified NTP server on the VPN. If the server is unreachable, the VPN firewall does not use its RTC. Issue the vpn_policy keyword to specify a VPN policy that enables the VPN firewall to contact the NTP server on the VPN.
stratum number If the ntp_mode keyword is set to
Authoritative_Mode, the stratum value.
This value indicates the distance between the RTC of the VPN firewall and a reference clock.
set_date_time_manually Y or N Enables or disables manual configuration of the date and time. If you enable manual
configuration, issue the ntp_hour, ntp_minutes, ntp_seconds, ntp_day, ntp_month, and ntp_year keywords to specify the date and time manually.
ntp_hour hour The hour in the format HH (00 to 24) for manual configuration.
ntp_minutes minutes The minutes in the format MM (00 to 59) for manual configuration.
ntp_seconds seconds The seconds in the format SS (00 to 59) for manual configuration.
ntp_day day The day in the format DD (00 to 31) for manual configuration.
ntp_month month The month in the format MM (01 to 12) for manual configuration.
ntp_year year The year in the format YYYY for manual configuration.
Keyword Associated Keyword to Select or Parameter to Type
Description
vpn_policy vpn policy name If the ntp_mode keyword is set to
Sync_to_NTP_Servers_on_VPN, the name of the VPN policy that enables the VPN firewall to contact the NTP server on the VPN.
use_default_servers Y or N Enables or disables the use of default NTP servers.
configure_ntp_servers Y or N Enables or disables the use of custom NTP servers. If you enable the use of custom NTP servers, you need to specify the server IP addresses or domain names with the ntp_server1 and ntp_server2 keywords.
ntp_server1 ipaddress or domain name The IP address of domain name of the first custom NTP server.
ntp_server2 ipaddress or domain name The IP address of domain name of the second custom NTP server.
Table 11. Timezone keywords
GMT time and location
Note: Enter the keywords exactly as stated (you can use autocompletion keys). If there are two locations for the same time zone, enter the location exactly as stated.
For example, either enter GMT-11:00::Samoa or enter GMT-10:00::Hawaii.
GMT::Greenwich-Mean-Time:Edinburgh,London GMT-12:00::Eniwetok
GMT-12:00::Kwajalein GMT-11:00::Midway_Island GMT-11:00::Samoa
GMT-10:00::Hawaii GMT-09:30::Marquesas_Is GMT-09:00::Alaska GMT-08:30::Pitcairn_Is
GMT-08:00::Pacific_Time-Canada GMT-08:00::Pacific_Time-US
Keyword Associated Keyword to Select or Parameter to Type
Description
GMT-06:00::Central_Time-Canada GMT-06:00::Central_Time-US GMT-05:00::Eastern_Time-Canada GMT-05:00::Eastern_Time-Lima GMT-05:00::Eastern_Time-US GMT-04:30::Caracas
GMT-04:00::Atlantic_Time-Canada GMT-03:30::Newfoundland
GMT-03:00::Brasilia,Buenos_Aires GMT-02:00::Mid-Atlantic
GMT-01:00::Azores
GMT-01:00::Cape_Verde_Is GMT+01:00::Europe
GMT+02:00::Athens GMT+02:00::Istanbul GMT+02:00::Minsk GMT+02:00::Cairo GMT+03:00::Baghdad GMT+03:00::Kuwait GMT+03:00::Moscow GMT+03:30::Tehran GMT+04:00::Abu-Dhabi GMT+04:00::Muscat GMT+04:00::Baku GMT+04:30::Kabul
GMT+05:00::Ekaterinburg GMT+05:00::Islamabad
Table 11. Timezone keywords (continued)
GMT time and location
Note: Enter the keywords exactly as stated (you can use autocompletion keys). If there are two locations for the same time zone, enter the location exactly as stated.
For example, either enter GMT-11:00::Samoa or enter GMT-10:00::Hawaii.
GMT+05:00::Karachi
GMT+05:30::Bombay,Calcutta,Madras,Delhi GMT+05:30::Colombo
GMT+06:00::Almaty GMT+06:00::Dhaka GMT+06:30::Burma GMT+07:00::Bangkok GMT+07:00::Hanoi GMT+07:00::Jakarta
GMT+08:00::Beijing,Chongqing,Hong_Kong GMT+08:00::AWST-Perth
GMT+09:00::Osaka,Sapporo,Tokyo GMT+09:00::Seoul
GMT+09:30::ACST-Adelaide GMT+09:30::ACST-Darwin
GMT+09:30::ACST--Broken_Hill,NSW GMT+10:00::AEST-Brisbane
GMT+10:00::Guam
GMT+10:00::Port_Moresby GMT+10:00::AEST-Canberra GMT+10:00::AEST-Melbourne GMT+10:00::AEST-Sydney GMT+10:00::AEST-Hobart GMT+10:30::Lord_Howe_Is GMT+11:00::Magadan
Table 11. Timezone keywords (continued)
GMT time and location
Note: Enter the keywords exactly as stated (you can use autocompletion keys). If there are two locations for the same time zone, enter the location exactly as stated.
For example, either enter GMT-11:00::Samoa or enter GMT-10:00::Hawaii.
Command example:
SRX5308> system time configure
system-config[time]> timezone GMT-08:00::Pacific_Time-US system-config[time]> auto_daylight Y
system-config[time]> resolve_ipv6_address N
system-config[time]> ntp_mode Sync_to_NTP_Servers_on_Internet system-config[time]> use_default_servers Y
system-config[time]> configure_ntp_servers N system-config[time]> save
Related show command: show system time setup GMT+11:30::Norfolk_I
GMT+12:00::Auckland GMT+12:00::Wellington GMT+12:00::New_Zealand GMT+12:00::Fiji
GMT+13:00::Tonga GMT+14:00::Kiribati
Table 11. Timezone keywords (continued)
GMT time and location
Note: Enter the keywords exactly as stated (you can use autocompletion keys). If there are two locations for the same time zone, enter the location exactly as stated.
For example, either enter GMT-11:00::Samoa or enter GMT-10:00::Hawaii.