beautypg.com

Sntp server – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 81

background image

Clock Commands

Page 80

Example

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

sntp server

The sntp server Global Configuration mode command configures the device to use the Simple Network Time
Protocol (SNTP) to request and accept SNTP traffic from a specified server. Use the no form of this command to
remove a server from the list of SNTP servers.

Syntax

sntp server {ipv4-address|ipv6-address|hostname} [poll] [key keyid]

no sntp server {ipv4-address|ipv6-address|hostname}

Parameters

ipv4-address — IPv4 address of the server. An out-of-band IP address can be specified as described in the

usage guidelines.

ipv6-address — IPv6 address of the server. An out-of-band IP address can be specified as described in the

usage guidelines. When the IPv6 address is a Link Local address (IPv6 address), the outgoing interface
name must be specified. Refer to the usage guidelines for the interface name syntax.

hostname — Hostname of the server. Only translation to IPv4 addresses is supported.

pollEnable polling.

keyid — 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.

To enable predefined Unicast clients globally use the sntp unicast client enable Global Configuration mode

command.

To enable global polling use the sntp unicast client poll Global Configuration mode command.

The sntp client poll timer Global Configuration mode command determines polling time.

The format of an IPv6 address is: <ipv6-link-local-address>%<interface-name>

interface-name = vlan<integer> | ch<integer> | isatap<integer> | <physical-port-name>

integer = <decimal-number> | nteger><decimal-number>

decimal-number = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

physical-port-name = Product specific.

Console(config)# sntp unicast client poll