beautypg.com

Ntp client, Ntp server – Accton Technology ES3526XA User Manual

Page 299

background image

System Management Commands

4-57

4

ntp client

This command enables NTP client requests for time synchronization from NTP time
servers specified with the ntp servers command. Use the no form to disable NTP
client requests.

Syntax

[no] ntp client

Default Setting

Disabled

Command Mode

Global Configuration

Command Usage

• The SNTP and NTP clients cannot be enabled at the same time. First disable

the SNTP client before using this command.

• The time acquired from time servers is used to record accurate dates and

times for log events. Without NTP, the switch only records the time starting
from the factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).

• This command enables client time requests to time servers specified via the

ntp servers command. It issues time synchronization requests based on the
interval set via the ntp poll command.

Example

Related Commands

sntp client (4-54)
ntp poll (4-58)
ntp server (4-57)

ntp server

This command sets the IP addresses of the servers to which NTP time requests are
issued. Use the no form of the command to clear a specific time server or all servers
from the current list.

Syntax

ntp server ip-address [version number] [key key-number]
no ntp server [ip-address]

ip-address - IP address of an NTP time server.
number - The NTP version number supported by the server. (Range: 1-3)
key-number - The number of an authentication key to use in

communications with the server. (Range: 1-65535)

Console(config)#ntp client
Console(config)#

This manual is related to the following products: