BelAir20E User Guide
System Settings
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Example 4
/system# show date
Current date: 2011-08-11 23:04:46 (UTC)
Current date: 2011-08-11 17:04:46
Managing an SNTP
Server
/protocol/sntp/set ip-address {primary|secondary}
{<host> | disabled}
/protocol/sntp/set timeoffset <hour_offset:minute_offset>
/protocol/sntp/set status {enabled | disabled}
/protocol/sntp/show {config | status}
The BelAir20E supports the Simple Network Time Protocol (SNTP) by
providing an SNTP client that can synchronize the unit date and time with any
SNTP compatible external time server.
The
set ip-address
command lets you identify a primary and secondary SNTP
server by specifying its host name or IP address, or disable this functionality. If
the SNTP client cannot synchronize the unit date and time with the primary
SNTP server, it attempts to synchronize with the secondary unit.
The
set timeoffset
command configures an offset that is used to convert the
displayed UTC time to local time. The
hour_offset
portion of the parameter
ranges from -12 to +13. The
minute_offset
portion of the parameter ranges
from 0 to 59.
The
set status {enable|disable}
command enables or disables the SNTP client.
To use this service, you must configure the IP address of at least one SNTP
server either manually or through DHCP. When the SNTP client is enabled, the
BelAir20E’s clock is reset to use UTC.
The
show status
and the
show config
commands display whether the SNTP
process is running or not and the effective (actual) information used by the
SNTP client as well as the information stored by the BelAir20E. Differences
may be caused by the setting of the
accept-dhcp-params
parameter. See
Example 1
/protocol/sntp# set ip-address primary 10.1.1.2
Example 2
/protocol/sntp# set timeoffset -4 30
Example 3
/protocol/sntp# show status
SNTP process is running