windows:windows_time_service_ntp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
windows:windows_time_service_ntp [2025/10/07 09:55] – aperez | windows:windows_time_service_ntp [2025/10/07 12: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 resolution, adds NTP servers, and applies Central Time with U.S. daylight saving. | + | Use IANA timezone names. For Houston, use '' |
<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 (FQDN supported) | + | ! NTP servers (FQDN soportado si hay DNS) |
- | ntp server 0.pool.ntp.org | + | ntp server 0.pool.ntp.org |
ntp server 1.pool.ntp.org | ntp server 1.pool.ntp.org | ||
ntp server 2.pool.ntp.org | ntp server 2.pool.ntp.org | ||
ntp server 3.pool.ntp.org | ntp server 3.pool.ntp.org | ||
- | ! Time zone (Central) and DST (U.S.) | + | ! Zona horaria IANA (Houston) |
- | clock timezone | + | clock timezone |
- | clock summer-time CDT recurring 2 Sun Mar 02:00 first Sun Nov 02:00 02:00 | + | |
end | end | ||
Line 316: | Line 315: | ||
</ | </ | ||
- | ==== 🔍 Verification | + | ==== 🔍 Verificación |
<code bash> | <code bash> | ||
show ntp servers | show ntp servers | ||
Line 323: | Line 322: | ||
</ | </ | ||
- | **Expected:** | + | **Esperado:** |
- | * One NTP server | + | * Uno de los NTP marcado como peer activo. |
- | * Local time reflects | + | * '' |
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | ===== 🕒 NTP and DNS Configuration on Arista 7050QX (EOS 4.13.x, Houston, TX) ===== | ||
+ | |||
+ | This configuration enables DNS resolution, adds public NTP servers, and applies the Central Time zone. | ||
+ | |||
+ | <code bash> | ||
+ | configure terminal | ||
+ | |||
+ | ip name-server 8.8.8.8 | ||
+ | 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/ | ||
+ | |||
+ | end | ||
+ | write memory | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ==== 🔍 Verification ==== | ||
+ | <code bash> | ||
+ | show ntp status | ||
+ | show ntp associations | ||
+ | show clock | ||
+ | </ | ||
+ | Expected: | ||
+ | * One server | ||
+ | * '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 🧠 Notes ==== | ||
+ | * '' | ||
+ | * '' | ||
+ | * Time zone labels accept **IANA/ | ||
+ | * To force the source address, use **'' | ||
+ | * If NTP must traverse **VRF MGMT**, append **'' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | ===== 🕒 NTP and DNS on Cisco Catalyst 9500 (IOS XE 17.12) — Houston, TX ===== | ||
+ | |||
+ | DNS + NTP con zona horaria Central (CST/CDT). '' | ||
+ | |||
+ | <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 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 🔁 (Opcional) Enviar NTP por el VRF de management ==== | ||
+ | Si tu salida a Internet va por **Mgmt-vrf**, | ||
+ | |||
+ | <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 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== 🔍 Verificación ==== | ||
+ | <code bash> | ||
+ | show hosts ! valida resolución DNS | ||
+ | ping 0.pool.ntp.org | ||
+ | show ntp associations | ||
+ | show ntp status | ||
+ | show clock detail | ||
+ | show run | i name-server|ntp|clock | ||
+ | </ | ||
+ | |||
+ | **Esperado: | ||
+ | * Un servidor con '' | ||
+ | * '' | ||
+ | * DNS resolviendo ('' | ||
+ | |||
+ | ---- | ||
+ | ==== 🧠 Notas ==== | ||
+ | * Si algún FQDN no resuelve, prueba primero con **IP** para descartar DNS. | ||
+ | * Asegura salida **UDP/123** desde la interfaz/ | ||
+ | * Puedes marcar un servidor como preferido: | ||
+ | < | ||
---- | ---- | ||
---- | ---- |
windows/windows_time_service_ntp.1759848926.txt.gz · Last modified: 2025/10/07 09:55 by aperez