0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

N9k NTP設定メモ

Last updated at Posted at 2024-07-05

Nexus9000V NTP設定メモ

●トポロジ
(CMLのN9k(NTPクライアント) → IOSV(NTPサーバ)へ接続)
topology (1).png

①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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?