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 08:16] – aperez | windows:windows_time_service_ntp [2025/10/07 12:08] (current) – aperez | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| - | ===== 🕒 NTP Configuration on Aruba CX 6400 (Houston, TX) ===== | + | ===== 🕒 NTP Configuration on Aruba CX 6300 / 6400 (Houston, TX) ===== |
| To configure the switch to synchronize its time using public NTP servers and apply the correct time zone for Houston (Central Time), run the following commands in **configuration mode**: | To configure the switch to synchronize its time using public NTP servers and apply the correct time zone for Houston (Central Time), run the following commands in **configuration mode**: | ||
| Line 178: | Line 178: | ||
| ---- | ---- | ||
| + | |||
| + | |||
| + | ===== 🕒 NTP and DNS Configuration on Aruba 3810M (Houston, TX) ===== | ||
| + | |||
| + | This configuration enables NTP synchronization, | ||
| + | |||
| + | <code bash> | ||
| + | configure terminal | ||
| + | |||
| + | ! Enable NTP mode | ||
| + | timesync ntp | ||
| + | ntp enable | ||
| + | |||
| + | ! Configure DNS servers for hostname resolution | ||
| + | ip dns server-address priority 1 8.8.8.8 | ||
| + | ip dns server-address priority 2 1.1.1.1 | ||
| + | |||
| + | ! Configure NTP servers (can use hostnames if DNS is working) | ||
| + | ntp server 0.pool.ntp.org | ||
| + | ntp server 1.pool.ntp.org | ||
| + | ntp server 2.pool.ntp.org | ||
| + | ntp server 3.pool.ntp.org | ||
| + | |||
| + | ! Set time zone to Central Time (UTC−6) | ||
| + | time timezone -360 | ||
| + | |||
| + | ! Enable daylight saving time for continental U.S. and Canada | ||
| + | time daylight-time-rule continental-us-and-canada | ||
| + | |||
| + | exit | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 🔍 Verification ==== | ||
| + | |||
| + | Verify NTP synchronization, | ||
| + | |||
| + | <code bash> | ||
| + | show ntp status | ||
| + | show ntp associations | ||
| + | show ip dns | ||
| + | show time | ||
| + | show clock | ||
| + | </ | ||
| + | |||
| + | **Expected results:** | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 🧠 Notes ==== | ||
| + | * Aruba 3810M supports **FQDN or IP** for NTP servers — DNS must be reachable. | ||
| + | * To use an internal NTP source (e.g. Windows Server), replace pool servers with: | ||
| + | < | ||
| + | ntp server 10.28.64.22 | ||
| + | </ | ||
| + | * If DNS is unreachable, | ||
| + | * NTP uses UDP port 123; confirm outbound reachability. | ||
| + | * Save configuration permanently with '' | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== 🕒 SNTP and DNS — Dell EMC N3048P (DNOS 6.5.3.6, Houston, TX) ===== | ||
| + | |||
| + | Validated configuration for accurate timekeeping with SNTP (unicast), DNS resolvers, Central Time (UTC−6) and U.S. DST. | ||
| + | |||
| + | <code bash> | ||
| + | ! Already applied (from running-config): | ||
| + | sntp unicast client enable | ||
| + | sntp server 216.239.35.0 | ||
| + | sntp server 162.159.200.1 | ||
| + | sntp server 129.6.15.28 | ||
| + | sntp server 132.163.96.5 | ||
| + | clock summer-time recurring USA | ||
| + | clock timezone -6 minutes 0 | ||
| + | ip name-server " | ||
| + | ip name-server " | ||
| + | |||
| + | exit | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | ==== 🔍 Verification ==== | ||
| + | <code bash> | ||
| + | show sntp | ||
| + | show clock | ||
| + | show running-config | include sntp|clock|name-server | ||
| + | </ | ||
| + | |||
| + | **Expected: | ||
| + | * '' | ||
| + | * '' | ||
| + | * Last sync time updates periodically (UDP/123 reachable) | ||
| + | |||
| + | ==== 🧠 Notes ==== | ||
| + | * DNOS 6 in N3000 uses **SNTP** (no full NTP). | ||
| + | * If DNS is down, keep servers by **IP** (as configured). | ||
| + | * Ensure outbound **UDP/123** is allowed from the chosen source-interface. | ||
| + | * Persist with '' | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ===== 🕒 NTP and DNS Configuration on Aruba 7220 (AOS 8.12, Houston, TX) ===== | ||
| + | |||
| + | Use IANA timezone names. For Houston, use '' | ||
| + | |||
| + | <code bash> | ||
| + | configure terminal | ||
| + | |||
| + | ! DNS (opcional, para resolver FQDN) | ||
| + | ip name-server 8.8.8.8 | ||
| + | ip name-server 1.1.1.1 | ||
| + | |||
| + | ! NTP servers (FQDN soportado si hay DNS) | ||
| + | ntp server 0.pool.ntp.org | ||
| + | ntp server 1.pool.ntp.org | ||
| + | ntp server 2.pool.ntp.org | ||
| + | ntp server 3.pool.ntp.org | ||
| + | |||
| + | ! Zona horaria IANA (Houston) | ||
| + | clock timezone America/ | ||
| + | |||
| + | end | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | ==== 🔍 Verificación ==== | ||
| + | <code bash> | ||
| + | show ntp servers | ||
| + | show ntp status | ||
| + | show clock | ||
| + | </ | ||
| + | |||
| + | **Esperado: | ||
| + | * Uno de los NTP marcado como peer activo. | ||
| + | * '' | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ===== 🕒 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/Central | ||
| + | |||
| + | end | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ==== 🔍 Verification ==== | ||
| + | <code bash> | ||
| + | show ntp status | ||
| + | show ntp associations | ||
| + | show clock | ||
| + | </ | ||
| + | Expected: | ||
| + | * One server selected as the system peer. | ||
| + | * '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 🧠 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.1759842983.txt.gz · Last modified: 2025/10/07 08:16 by aperez
