set sntp client

Use this command to set the SNTP operation mode.

Syntax

set sntp client {broadcast | unicast | disable}

Parameters

broadcast Enables SNTP in broadcast client mode.
unicast Enables SNTP in unicast (point-to-point) client mode. In this mode, the client must supply the IP address from which to retrieve the current time.
disable Disables SNTP.

Defaults

None.

Mode

All command modes.

Usage

The default SNTP operation mode is disabled.

Example

This example shows how to enable SNTP in broadcast mode:

System(rw)->set sntp client broadcast