Time Protocols

SNTP: Viewing, Selecting, and Configuring

CLI: Viewing and Configuring SNTP

CLI Commands Described in this Section

SNTP Command

Page

 

 

show sntp

8-8

[no] timesync

8-9and ff.,

 

8-12

sntp broadcast

8-9

sntp unicast

8-10

sntp server

8-10and ff.

Protocol Version

8-12

poll-interval

8-12

no sntp

8-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 8-2. Example of SNTP Configuration When SNTP Is the Selected TimeSynchronization Method

8-8