2 commands for sntp, 1 sntp server, 2 sntp poll – Accton Technology ES4626 User Manual

Page 348: Ommands for, Sntp

Advertising
background image

348

ES4624-SFP/ES4626-SFP switch implements SNTPv4 and supports SNTP client unicast

as described in RFC2030; SNTP client multicast and unicast are not supported, nor is the

SNTP server function.

11.2 Commands for SNTP

11.2.1 sntp server

Command: sntp server {<server_address> | < server_ipv6_addr> } [version

<version_no>]

no sntp server {<server_address> | < server_ipv6_addr>}

Function:

Configure the IPv4/IPv6 addresses and the version of the SNTP/NTP server;

the “no” form of this command cancels the configured SNTP/NTP server addresses.

Parameter <server_address>

is the IPv4 unicast address of the SNTP/NTP

server,<server_ipv6_addr> is the IPv6 unicast address of the SNTP/NTP

server,<version_no> is the version No. of the SNTP on current server,ranging between

1-4 and defaulted at 1.

Default:

No sntp/ntp configured by default.

Command Mode:

Global Mode

Example:

(1) Configure an IPv4 address of a SNTP/NTP server. SNTPv4 version is adopted on

the server

Switch(Config)#sntp server 10.1.1.1 version 4

(2) Configure a SNTP/NTP server IPv6 address

Switch(Config)#sntp server 3ffe:506:1:2::5

11.2.2 sntp poll

Command: sntp poll <interval>

no sntp poll

Function:

Sets the interval for SNTP clients to send requests to NTP/SNTP; the “no

sntp poll

” command cancels the polltime sets and restores the default setting.

Parameters:

< interval> is the interval value from 16 to 16284.

Default:

The default polltime is 64 seconds.

Command mode:

Global Mode

Example:

Setting the client to send request to the server every 128 seconds.

Switch#config

Advertising
This manual is related to the following products: