Nexus9000V NTP設定メモ
●トポロジ
(CMLのN9k(NTPクライアント) → IOSV(NTPサーバ)へ接続)
①NGパターン
●NTP関連設定
(NTP送信IFが所属しているVRF(managemnt)とNTP同期の送信元VRF(default) が異なる)
ntp server 192.168.1.208 use-vrf default ★NTP同期の送信元VRF
ntp source-interface mgmt0 ★NTP同期の送信元IF
interface mgmt0
vrf member management ★NTP同期の送信元IFが所属するVRF
ip address 192.168.1.207/24
●上記のconfigが投入されている場合のNTP同期状況
Nexus9000V# show ntp statistics peer ipaddr 192.168.1.208
remote host: 192.168.1.208
local interface: 192.168.1.207
time last received: 31s
time until next send: 3s
reachability change: 31s
packets sent: 2 ★NTP syncパケットが送信されている(OK)
packets received: 0 ★NTP syncパケットが受信されていない(NG)
bad authentication: 0
bogus origin: 0
duplicate: 0
bad dispersion: 0
bad reference time: 0
candidate order: 0
②OKパターン
●NTP関連設定
(NTP送信IFが所属しているVRF(managemnt)とNTP同期の送信元VRF(management) が同一)
ntp server 192.168.1.208 use-vrf management ★NTP同期の送信元VRF
ntp source-interface mgmt0 ★NTP同期の送信元IF
interface mgmt0
vrf member management ★NTP同期の送信元IFが所属するVRF
ip address 192.168.1.207/24
●上記のconfigが投入されている場合のNTP同期状況
Nexus9000V# show ntp statistics peer ipaddr 192.168.1.208
remote host: 192.168.1.208
local interface: 192.168.1.207
time last received: 4s
time until next send: 12s
reachability change: 20s
packets sent: 2 ★NTP syncパケットが送信されている(OK)
packets received: 2 ★NTP syncパケットが受信されている(OK)
bad authentication: 0
bogus origin: 0
duplicate: 0
bad dispersion: 0
bad reference time: 0
candidate order: 0