beautypg.com

21 ntp (network time protocol) configuration, 1 ntp sync ipaddr, 2 ntp server ipaddr – Asus GigaX3124 User Manual

Page 281: 3 ntp server ipaddr prefer

background image

GigaX3124 Layer3 Switch CLI Command Reference

256

21 NTP (Network Time Protocol)

Configuration:

21.1 ntp sync IPADDR

Syntax

ntp sync IPADDR

Parameters

IPADDR NTP server IP address

Command Mode Privileged EXEC mode
No/clear
show

show clock

Default
Description

Use the command to sync system time with specified NTP

server.

Example

ASUS# ntp sync 220.130.158.52

21.2 ntp server IPADDR

Syntax

ntp server IPADDR

Parameters

IPADDR IP address

Command Mode Global configuration mode
No/clear

no ntp server IPADDR

show

show ntp server

Default
Description

Use the command to set an ntp server for system to sync time.

The max number of configured ntp servers is 4.

Example

ASUS(config)# ntp server 220.130.158.52

21.3 ntp server IPADDR prefer

Syntax

ntp server IPADDR prefer

Parameters

IPADDR IP address