Previous Topic

Next Topic

Book Contents

Simple Network Time Protocol (SNTP) Commands

This section describes the commands you use to automatically configure the system time and date by using SNTP.

sntp broadcast client poll-interval

This command sets the poll interval for SNTP broadcast clients in seconds as a power of two where <poll-interval> can be a value from 6 to 16.

no sntp broadcast client poll-interval

This command resets the poll interval for SNTP broadcast client back to the default value.

sntp client mode

This command enables Simple Network Time Protocol (SNTP) client mode and may set the mode to either broadcast or unicast.

no sntp client mode

This command disables Simple Network Time Protocol (SNTP) client mode.

sntp client port

This command sets the SNTP client port id to a value from 1-65535.The default value is 0, which means that the SNTP port is not configured by the user. In the default case, the actual client port value used in SNTP packets is assigned by the underlying OS.

no sntp client port

This command resets the SNTP client port back to its default value.

sntp unicast client poll-interval

This command sets the poll interval for SNTP unicast clients in seconds as a power of two where <poll-interval> can be a value from 6 to 16.

no sntp unicast client poll-interval

This command resets the poll interval for SNTP unicast clients to its default value.

sntp unicast client poll-timeout

This command will set the poll timeout for SNTP unicast clients in seconds to a value from 1-30.

no sntp unicast client poll-timeout

This command will reset the poll timeout for SNTP unicast clients to its default value.

sntp unicast client poll-retry

This command will set the poll retry for SNTP unicast clients to a value from 0 to 10.

no sntp unicast client poll-retry

This command will reset the poll retry for SNTP unicast clients to its default value.

sntp server

This command configures an SNTP server (a maximum of three). The optional priority can be a value of 1-3, the version a value of 1-4, and the port id a value of 1-65535.

no sntp server

This command deletes an server from the configured SNTP servers.

show sntp

This command is used to display SNTP settings and status.

The display parameters for above command are:

show sntp client

This command is used to display SNTP client settings.

The display parameters for above command are:

show sntp server

This command is used to display SNTP server settings and configured servers.

The display parameters for above command are:

For each configured server:

See also

Utility Commands

System Information and Statistics Commands

Logging Commands

Email Alerting and Mail Server Commands

System Utility and Clear Commands

DHCP Server Commands

DNS Client Commands

IP Address Conflict Commands

Serviceability Packet Tracing Commands

Cable Test Command

sFlow Commands

Switch Database Management Template Commands