14 sntp server, Examples, Syntax – Planet Technology WGSD-8000 User Manual

Page 192: Default configuration, Command mode, User guidelines

Advertising
background image

User’s Manual of WGSD-1022/WGSD-8000

- 192 –

Examples

The following example enables polling for the Simple Network Time Protocol (SNTP) predefined unicast clients.

console (config)# sntp unicast client poll

5.5.14 sntp server

The sntp server global configuration command configures the device to use the Simple Network Time Protocol (SNTP) to

request and accept Network Time Protocol (NTP) traffic from a server. To remove a server from the list of NTP servers, use the

no

form of this command.

Syntax

sntp server ip-address | hostname

[poll] [key keyid]

no sntp server host

ƒ

ip-address — IP address of the server. An out-of-band IP address can be specified as described in the usage guidelines

ƒ

hostname — Hostname of the server. (Range: 1 - 160 characters)

ƒ

poll Enable polling.

ƒ

key keyed — Authentication key to use when sending packets to this peer. (Range:1 – 4294967295)

Default Configuration

No servers are defined.

Command Mode

Global Configuration mode

User Guidelines

Up to 8 sntp servers can be defined.

Use the sntp unicast client enables global configuration command to enable predefined unicast clients globally.

To enable polling you should also use the sntp unicast client poll global configuration command for global enabling.

Polling time is determined by the sntp client poll timer global configuration command.

To define an SNTP server on the out-of-band port, use the out-of-band IP address format: oob/ip-address.

Examples

The following example configures the device to accept Network Time Protocol (NTP) traffic from the server on 192.1.1.1

Console (config)# sntp server 192.1.1.1

Advertising