Syntax keywords and variables – Amer Networks WLO220T CLI User Manual

Page 56

Advertising
background image

. . . . .

C O M M A N D D E S C R I P T I O N S

ntp

CLI Reference Guide

53

ntp

Use the ntp commands to configure the device for Simple Network Time Protocol (SNTP). SNTP
is a simplified version of NTP, which is a protocol used for synchronizing computer clocks in the
Internet. This version is adequate for devices that do not require a high level of synchronization
and accuracy. To enable the SNTP feature, use the set clock ntp command.

Syntax

Keywords and Variables

interval

set ntp interval number

unset ntp interval

interval

Defines in minutes how often the device updates its clock time by synchronizing with the NTP
server. The range for the synchronization interval is from 1 to 1440 minutes (24 hours).

Example

The following command configures the device to synchronize its clock time every 20 minutes:

set ntp interval 20

server

set ntp server { ip_addr | dom_name }

set ntp server { backup1 | backup2 } { ip_addr | dom_name }

unset ntp server { backup1 | backup2 }

exec

exec ntp [

server { backup1 | backup2 | primary } ] update

get

get ntp

set

set ntp

{

interval number |

server

{

ip_addr | dom_name |

backup1 { ip_addr | dom_name } |

backup2 { ip_addr | dom_name } |

}

}

unset

unset ntp

{

interval |

server { backup1 | backup2 }

}

Advertising
This manual is related to the following products: