{"id":537,"date":"2023-06-01T21:37:32","date_gmt":"2023-06-01T20:37:32","guid":{"rendered":"https:\/\/www.shakral.de\/blog\/?p=537"},"modified":"2023-06-02T12:59:49","modified_gmt":"2023-06-02T11:59:49","slug":"windows-server-als-ntp-fuer-aruba-switche","status":"publish","type":"post","link":"https:\/\/www.shakral.de\/blog\/2023\/06\/01\/windows-server-als-ntp-fuer-aruba-switche\/","title":{"rendered":"Windows Server als NTP f\u00fcr (Aruba)-Switche"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Durch den Betriebssystem-Wechsel bei der Aruba von AOS auf Aruba-CX sind ein paar Anpassungen auf einem Windows-NTP-Server notwendig, damit dieser eingebunden werden kann.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Um den Windows w32-Zeitdienst als Server zu verwenden, muss dieser via Registry Eintr\u00e4ge konfiguriert werden und abschlie\u00dfend neugestartet werden.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; highlight: [4]; title: ; notranslate\" title=\"\">\nWindows Registry Editor Version 5.00\n\n&#x5B;HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\TimeProviders\\NtpServer]\n&quot;Enabled&quot;=dword:00000001\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Zusatzoption f\u00fcr Aruba-CX-Switche<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Damit die aktuellen CX-Switche den Windows-NTP-Server akzeptieren, muss eine weitere Einstellung vorgenommen werden. Dies sorgt daf\u00fcr, dass der CX-Switch die NTP-Quelle als vertrauensw\u00fcrdig einstuft<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; highlight: [4]; title: ; notranslate\" title=\"\">\nWindows Registry Editor Version 5.00\n\n&#x5B;HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config]\n&quot;AnnounceFlags&quot;=dword:00000004\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Neustart des Dients<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Neustart \u00fcber die Dienste-App oder per Kommandozeile<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"224\" src=\"https:\/\/www.shakral.de\/blog\/wp-content\/uploads\/2023\/06\/image.png\" alt=\"\" class=\"wp-image-561\" srcset=\"https:\/\/www.shakral.de\/blog\/wp-content\/uploads\/2023\/06\/image.png 805w, https:\/\/www.shakral.de\/blog\/wp-content\/uploads\/2023\/06\/image-300x83.png 300w, https:\/\/www.shakral.de\/blog\/wp-content\/uploads\/2023\/06\/image-768x214.png 768w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; highlight: [2,5]; title: ; notranslate\" title=\"\">\nEingabeaufforderung\nnet stop w32time &amp;&amp; net start w32time\n\nPowershell\nRestart-Service -Name w32time\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Aruba-CX<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Einbindung<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Konfigurationsbefehle f\u00fcr einen Aruba-CX-Serien-Switch<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nclock timezone europe\/berlin\nntp server &amp;lt;IP-Adresse des NTP&gt; minpoll 4 maxpoll 4 iburst\nntp enable\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Troubleshooting &#8211; CX-Switche<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">im akutellen Beispiel nur Befehle f\u00fcr CX-Switche. Es wird noch einen allgemeine Beitrag f\u00fcr NTP-Konfigs f\u00fcr diverse Switche geben<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">show ntp server<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTestswitch(config)# show ntp servers\n---------------------------------------------------\n        NTP SERVER KEYID MINPOLL MAXPOLL OPTION VER\n---------------------------------------------------\n&amp;lt;NTP-Server-IP#2&gt;   --       4       4 iburst   4 prefer(auto)\n&amp;lt;NTP-Server-IP#1&gt;   --       4       4 iburst   4\n---------------------------------------------------\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">show ntp associations<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; highlight: [5]; title: ; notranslate\" title=\"\">\nTestswitch(config)# show ntp associations\n----------------------------------------------------------------------\n ID            NAME          REMOTE          REF-ID ST LAST POLL REACH\n----------------------------------------------------------------------\n* 1      &amp;lt;NTP-IP#1&gt;      &amp;lt;NTP-IP#1&gt;          .LOCL.  1    8   16     3\n  2      &amp;lt;NTP-IP#2&gt;      &amp;lt;NTP-IP#2&gt; &amp;lt;aktive-NTP-IP&gt;  2    5   16     1\n----------------------------------------------------------------------\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">show ntp status<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTestswtich(config)# show ntp status\nNTP Status Information\n\nNTP                        : Enabled\nNTP DHCP                   : Enabled\nNTP Authentication         : Disabled\nNTP Server Connections     : Using the default VRF\n\nSystem time                : Sun Mar 26 13:18:53 CEST 2023\nNTP uptime                 : 0 minutes, 44 seconds\n\nNTP Synchronization Information\n\nNTP Server                 :  &amp;lt;NTP-IP#1&gt; at stratum 1\nPoll interval              : 16 seconds\nTime accuracy              : Within 0.007671 seconds\nReference time             : Sun Mar 26 2023 13:15:03.160 as per Europe\/Berlin\n\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">show ntp statistics<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTestswitch(config)# show ntp statistics\n                 Rx-pkts  39\n Current Version Rx-pkts  0\n     Old Version Rx-pkts  17\n              Error pkts  0\n        Auth-failed pkts  0\n           Declined pkts  0\n         Restricted pkts  0\n       Rate-limited pkts  0\n                KOD pkts  0\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Durch den Betriebssystem-Wechsel bei der Aruba von AOS auf Aruba-CX sind ein paar Anpassungen auf einem Windows-NTP-Server notwendig, damit dieser eingebunden werden kann. Windows Um den Windows w32-Zeitdienst als Server zu verwenden, muss dieser&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[99,100,98,101],"tags":[],"class_list":["post-537","post","type-post","status-publish","format-standard","hentry","category-aruba","category-cx","category-netzwerk","category-sophos"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"thumb-small":false,"thumb-standard":false,"thumb-medium":false,"thumb-large":false,"thumb-xlarge":false,"thumb-xxlarge":false},"uagb_author_info":{"display_name":"Shakral","author_link":"https:\/\/www.shakral.de\/blog\/author\/shakral\/"},"uagb_comment_info":0,"uagb_excerpt":"Durch den Betriebssystem-Wechsel bei der Aruba von AOS auf Aruba-CX sind ein paar Anpassungen auf einem Windows-NTP-Server notwendig, damit dieser eingebunden werden kann. Windows Um den Windows w32-Zeitdienst als Server zu verwenden, muss dieser&#46;&#46;&#46;","_links":{"self":[{"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/posts\/537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/comments?post=537"}],"version-history":[{"count":6,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/posts\/537\/revisions"}],"predecessor-version":[{"id":565,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/posts\/537\/revisions\/565"}],"wp:attachment":[{"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/media?parent=537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/categories?post=537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shakral.de\/blog\/wp-json\/wp\/v2\/tags?post=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}