NTP的设置问题
Jun 07, 2016 pm 03:15 PM! access-list 101 permit udp any any eq ntp time-range sntp-dial access-list 101 deny udp any any eq ntp access-list 101 permit ip any any dialer-list 1 protocol ip list 101 ! time-range sntp-dial absolute end 00:00 01 January 2000 ! The ti
!access-list 101 permit udp any any eq ntp time-range sntp-dial
access-list 101 deny udp any any eq ntp
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
!
time-range sntp-dial
absolute end 00:00 01 January 2000
!
The time there doesn't really matter as long as it is later than the epoch time for the device in question, and earlier than the current time. 01/01/2000 was just the arbitrary choice I made last time I configured that.
With that config, NTP will bring up the line if and only if the clock on the Cisco has not already been set.
For an unattended installation which may not dial up very frequently,
it may be worth using a time-range which allows dialling once per day to keep the clock reasonably well synced. If your usage pattern results in the line coming up frequently, that is an unnecessary step. Constructing an appropriate time-range statement is left as an exercise for the reader.
If it's a small single user LAN, it's considered polite to avoid the stratum-1 servers. Most ISPs should provide NTP servers for customer use, eg try ntp.
ntp1.

Article chaud

Outils chauds Tags

Article chaud

Tags d'article chaud

Bloc-notes++7.3.1
Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise
Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1
Puissant environnement de développement intégré PHP

Dreamweaver CS6
Outils de développement Web visuel

SublimeText3 version Mac
Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Sujets chauds

Comment fixer l'heure prévue de publication des ouvrages sur Douyin ? Comment définit-il la durée de la vidéo ?

Où est définie la balise Douyin ? Comment peut-on l'étiqueter pour pouvoir le pousser avec précision ?

Configurer le chinois avec VSCode : le guide complet

Comment définir le filigrane au milieu sur Weibo_Comment définir le filigrane au milieu sur Weibo

Où définir les recommandations et les sélections Douyin

Le mode Ne pas déranger ne fonctionne pas sur iPhone : correctif

Comment configurer la publication programmée sur Weibo_Tutoriel sur la configuration de la publication programmée sur Weibo

Comment régler le compte à rebours pour récupérer des billets à Damai
