Cli: viewing and configuring sntp, Viewing the current sntp configuration, Cli: viewing and configuring sntp -8 – HP 2600 User Manual
Page 150: Viewing the current sntp configuration -8
Time Protocols
SNTP: Viewing, Selecting, and Configuring
CLI: Viewing and Configuring SNTP
CLI Commands Described in this Section
show sntp
[no] timesync
pages 9-9 and ff., 9-12
sntp broadcast
page 9-9
sntp unicast
page 9-10
sntp server
pages 9-10 and ff.
Protocol Version
page 9-12
poll-interval
page 9-12
no sntp
page 9-13
This section describes how to use the CLI to view, enable, and configure SNTP
parameters.
Viewing the Current SNTP Configuration
This command lists both the time synchronization method (
TimeP, SNTP, or
None) and the SNTP configuration, even if SNTP is not the selected time
protocol.
Syntax:
show sntp
For example, if you configured the switch with SNTP as the time synchroni
zation method, then enabled SNTP in broadcast mode with the default poll
interval,
show sntp
lists the following:
Figure 9-2. Example of SNTP Configuration When SNTP Is the Selected Time
Synchronization Method
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. For example:
9-8