SNTP parameter
Operation
Server Address
Used only when the
SNTP Mode
is set to
Unicast
. Specifies the IP address of the SNTP
server that the switch accesses for time synchronization updates. You can configure up to
three servers; one using the menu or CLI, and two more using the CLI.
Server Version
Specifies the SNTP software version to use and is assigned on a per-server basis. The
version setting is backwards-compatible. For example, using version 3 means that the
switch accepts versions 1 through 3. Default: 3; range: 1 to 7.
Priority
Specifies the order in which the configured servers are polled for getting the time. Value is
between 1 and 3.
Viewing and configuring SNTP (CLI)
Syntax:
show sntp
Lists both the time synchronization method (
TimeP
,
SNTP
, or
None
) and the SNTP configuration, even if SNTP is
not the selected time protocol.
If you configure the switch with SNTP as the time synchronization method, then enable SNTP in broadcast mode
with the default poll interval,
show sntp
lists the following:
SNTP configuration when SNTP is the selected time synchronization method
switch(config)# show sntp
SNTP Configuration
Time Sync Mode: Sntp
SNTP Mode : Unicast
Poll Interval (sec) [720] : 719
Priority SNTP Server Address Protocol Version
-------- ------------------------------ ----------------
1 2001:db8::215:60ff:fe79:8980 7
2 10.255.5.24 3
3 fe80::123%vlan10 3
In the factory-default configuration (where TimeP is the selected time synchronization method),
show sntp
still
lists the SNTP configuration, even though it is not currently in use. In
SNTP configuration when SNTP is not
the selected time synchronization method
on page 35, even though TimeP is the current time synchronous
method, the switch maintains the SNTP configuration.
SNTP configuration when SNTP is not the selected time synchronization method
switch(config)# show sntp
SNTP Configuration
Time Sync Mode: Timep
SNTP Mode : Unicast
Poll Interval (sec) [720] : 719
Chapter 2 Time Protocols
35