NTPサーバにする場合
NTP-master(config)# ntp master {stratum値}
stratum値のデフォルトは8になります。GPSや原子時計などは0、それを参照しているNTPサーバは1, さらにそれを参照しているNTPサーバは2と階層構造になっており、低い値のstratum値を持っているNTPサーバは信頼が高いものになります。
NTPクライアントにする場合
NTP-client(config)# ntp server NTPサーバIPアドレス
NTP動作確認
Router#show ntp status
時刻の同期状況。NTPサーバの動作状況を確認できる。
%NTP is not enabled.
と表示されたらNTPの設定が行われていない。
Router#show ntp associations
NTPの参照先のNTPサーバがわかる。
![Resolved [mysqlbinlog] ERROR: Got error reading packet from server: Could not find first log file name in binary log index file](https://www.yuulinux.tokyo/contents/wp-content/uploads/2020/04/mysql_logo-150x150.jpg)



