User Tools

Site Tools


windows:windows_time_service_ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:windows_time_service_ntp [2025/10/07 14:39] – aperezwindows:windows_time_service_ntp [2025/10/07 17:08] (current) – aperez
Line 291: Line 291:
 ---- ----
  
-===== šŸ•’ NTP and DNS Configuration on Aruba 7220 (Houston, TX) =====+===== šŸ•’ NTP and DNS Configuration on Aruba 7220 (AOS 8.12, Houston, TX) =====
  
-This configuration enables DNS resolutionadds reliable NTP sources, and applies Central Time with U.S. daylight saving rules.+Use IANA timezone names. For Houstonuse ''America/Chicago'' (DST automƔtico).
  
 <code bash> <code bash>
 configure terminal configure terminal
  
-! DNS (hostname resolution)+! DNS (opcional, para resolver FQDN)
 ip name-server 8.8.8.8 ip name-server 8.8.8.8
 ip name-server 1.1.1.1 ip name-server 1.1.1.1
  
-! NTP servers (use IPs for best compatibility)Ā +! NTP servers (FQDN soportado si hay DNS)Ā 
-ntp server 216.239.35.0     Ā +ntp server 0.pool.ntp.orgĀ 
-ntp server 162.159.200.1     Ā +ntp server 1.pool.ntp.orgĀ 
-ntp server 129.6.15.28       Ā +ntp server 2.pool.ntp.orgĀ 
-ntp server 132.163.96.5      +ntp server 3.pool.ntp.org
  
-Time zone & Daylight Saving (U.S.)Ā +Zona horaria IANA (Houston)Ā 
-clock timezone CSTĀ +clock timezone America/Chicago
-clock summer-time CDT recurring 2 Sun Mar 02:00 first Sun Nov 02:00 -6+
  
-exit+end
 write memory write memory
 </code> </code>
 +
 +==== šŸ” Verificación ====
 +<code bash>
 +show ntp servers
 +show ntp status
 +show clock
 +</code>
 +
 +**Esperado:**
 +  * Uno de los NTP marcado como peer activo.
 +  * ''show clock'' mostrando hora local con ''CDT/CST'' segĆŗn corresponda (DST automĆ”tico).
  
 +----
 ---- ----
  
-==== šŸ” Verification ====+===== šŸ•’ NTP and DNS Configuration on Arista 7050QX (EOS 4.13.x, Houston, TX) =====
  
-Check NTP and clock status:+This configuration enables DNS resolution, adds public NTP servers, and applies the Central Time zone.
  
 <code bash> <code bash>
-show ntp serversĀ +configure terminalĀ 
-show clockĀ +Ā 
-show clock timezoneĀ +ip name-server 8.8.8.8Ā 
-show clock summer-time+ip name-server 1.1.1.1Ā 
 +Ā 
 +ntp server 0.pool.ntp.orgĀ 
 +ntp server 1.pool.ntp.orgĀ 
 +ntp server 2.pool.ntp.orgĀ 
 +ntp server 3.pool.ntp.orgĀ 
 +Ā 
 +clock timezone US/CentralĀ 
 +Ā 
 +endĀ 
 +write memory
 </code> </code>
  
-**Expected:**Ā +----Ā 
-  * ''show ntp servers'' → lists servers with reach/reachability and one selected.  Ā +Ā 
-  * ''show clock'' ā†’ time reflects CST/CDT correctly.  Ā +Ā 
-  * ''timezone: CST'' and ''summer-time: CDT recurring …'' shown accordingly.+==== šŸ” Verification ====Ā 
 +<code bash>Ā 
 +show ntp statusĀ 
 +show ntp associationsĀ 
 +show clockĀ 
 +</code>Ā 
 +Expected:Ā 
 +  * One server selected as the system peer.Ā 
 +  * ''show clock'' shows local time with timezone ''US/Central''.
  
 ---- ----
  
 ==== 🧠 Notes ==== ==== 🧠 Notes ====
-  * ''ip name-server'' configura los resolvers DNS en ArubaOS 8 (hasta 6 servidores). :contentReference[oaicite:0]{index=0}  Ā +  * ''ip name-server'' configures DNS resolvers on EOS. :contentReference[oaicite:0]{index=0}  Ā 
-  * El controlador soporta NTP como cliente; puedes consultar/gestionar con ''show ntp servers'' y el Ć”rbol de comandos ''ntp …''. :contentReference[oaicite:1]{index=1}  Ā +  * ''ntp server <ip|fqdn>'' adds time sources; EOS NTP is enabled by default. Use ''iburst'' if desired for faster initial sync. :contentReference[oaicite:1]{index=1}  Ā 
-  * ''clock timezone'' define el nombre (3–5 letras) y ''clock summer-time … recurring'' fija el cambio DST (2.Āŗ domingo de marzo / 1.Āŗ domingo de noviembre) y permite indicar el **offset** (''-6''). :contentReference[oaicite:2]{index=2}  Ā +  * Time zone labels accept **IANA/alias names** like **''US/Central''** or **''America/Chicago''** (''clock timezone ?'' lists options). :contentReference[oaicite:2]{index=2}  Ā 
-  * Si prefieres solo fuentes pĆŗblicas muy establespuedes reducir a dos:  Ā +  * To force the source addressuse **''ntp local-interface <intf>''** (e.g., **Management1** or a VLAN SVI):contentReference[oaicite:3]{index=3}  Ā 
-    <code>Ā +  * If NTP must traverse **VRF MGMT**append **''vrf MGMT''** to each server line:contentReference[oaicite:4]{index=4}
-    no ntp server 129.6.15.28Ā +
-    no ntp server 132.163.96.5Ā +
-    ntp server 216.239.35.0Ā +
-    ntp server 162.159.200.1Ā +
-    </code>Ā +
-  * Tras cambiosespera unos minutos y revisa ''show ntp servers'' para ver *reach*, *offset* y asterisco en el servidor seleccionado.+
  
  
 +----
 +----
  
 +===== šŸ•’ NTP and DNS on Cisco Catalyst 9500 (IOS XE 17.12) — Houston, TX =====
 +
 +DNS + NTP con zona horaria Central (CST/CDT). ''ip domain-lookup'' no es requerido en esta versión.
 +
 +<code bash>
 +conf t
 +ip name-server 8.8.8.8
 +ip name-server 1.1.1.1
 +
 +! NTP servers (FQDN soportado)
 +ntp server 0.pool.ntp.org
 +ntp server 1.pool.ntp.org
 +ntp server 2.pool.ntp.org
 +ntp server 3.pool.ntp.org
 +
 +! (Opcional) Fuente de NTP para dirección estable
 +ntp source Loopback0
 +
 +! Zona horaria Houston (Central) + DST EE.UU.
 +clock timezone CST -6
 +clock summer-time CDT recurring 2 Sun Mar 2:00 1 Sun Nov 2:00
 +
 +end
 +write memory
 +</code>
 +
 +----
 +
 +==== šŸ” (Opcional) Enviar NTP por el VRF de management ====
 +Si tu salida a Internet va por **Mgmt-vrf**, usa:
 +
 +<code bash>
 +conf t
 +ntp source Loopback0
 +ntp server vrf Mgmt-vrf 0.pool.ntp.org
 +ntp server vrf Mgmt-vrf 1.pool.ntp.org
 +ntp server vrf Mgmt-vrf 2.pool.ntp.org
 +ntp server vrf Mgmt-vrf 3.pool.ntp.org
 +end
 +write memory
 +</code>
 +
 +----
 +
 +==== šŸ” Verificación ====
 +<code bash>
 +show hosts                      ! valida resolución DNS
 +ping 0.pool.ntp.org             ! (o ping vrf Mgmt-vrf 0.pool.ntp.org)
 +show ntp associations
 +show ntp status
 +show clock detail
 +show run | i name-server|ntp|clock
 +</code>
 +
 +**Esperado:**
 +  * Un servidor con ''*'' como **system peer** en ''show ntp associations''.
 +  * ''show clock detail'' mostrando CST/CDT y estado de DST.
 +  * DNS resolviendo (''show hosts'').
 +
 +----
  
 +==== 🧠 Notas ====
 +  * Si algĆŗn FQDN no resuelve, prueba primero con **IP** para descartar DNS.
 +  * Asegura salida **UDP/123** desde la interfaz/VRF usada por NTP.
 +  * Puedes marcar un servidor como preferido:  
 +    <code>ntp server 0.pool.ntp.org prefer</code>
  
 ---- ----
 ---- ----
windows/windows_time_service_ntp.1759847989.txt.gz Ā· Last modified: by aperez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki