���������ɤ���ޤ���NTP��
�������ǽ񤤤��Ȥ�������ϴ�ñ��
---
Router_2501_A(config)# ntp master
---
��񤯤�����
��������ι�����Router_2501_A�����ꡣ
�ʤ���Stratum������򤹤뤳�Ȥ��ǽ��
---
Router2501_A(config)#ntp master ?
<1-15> Stratum number
---
���ξ�硢����Ʊ������񤤤Ƥ��ʤ��ΤǼ�ʬ�λ���򸫤롣
��äơ����餫���᥽�եȥ����������å�������򤹤롣
---
Router2501_A# clock set (��������)
---
�Ĥ��Ǥ˥����ॾ���������⤹�롣
---
Router2501_A(config)#clock timezone JST 9
---
��ǧ���ޥ�ɤϰʲ���
---
Router2501_A#show ntp status
Clock is synchronized, stratum 8, reference is 127.127.7.1
����
---
"Clock is synchronized"�ȤʤäƤ����OK��
����Ʊ�����Ǥ��Ƥ��ʤ��Ȱʲ���ɽ����
---
Router2501_A#show ntp status
Clock is unsynchronized, stratum 16, no reference clock
����
---
stratum��Cisco�Υǥե�����������8��
---
Router2501_A(config)#ntp master 8
Router2501_A(config)#end
Router2501_A#show run | i ntp master
ntp master�������ǥե���ȤʤΤ�8���ä��Ƥ��롣
---
������NTP�����м��Ȥ�7�ˤʤ�Τ����ա�
�����Ф�����������Ȥ�����̣��+1�����ɽ�������Τ�
show ntp status�Ǥ�8�ȤǤ롣
NTP�����Ф�stratum�򸫤������ϰʲ��Υ��ޥ�ɡ�
---
Router2501_A#show ntp associations
address ref clock st when poll reach delay offset disp
*~127.127.7.1 127.127.7.1 7 4 64 377 0.0 0.00 0.0
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
---
master��Ʊ�����Ƥ���Τ� * ���Ĥ���
Ʊ�������Ƥ��ʤ���
---
Router2501_A#show ntp associations
address ref clock st when poll reach delay offset disp
~127.127.7.1 127.127.7.1 7 28 64 0 0.0 0.00 16
��*��ɽ�����줺��
---
���ΤȤ���stratum��7��
�Ǿ�̲��ؤ�1�ʤΤǤ����ˤ��碌��Ȥ�����
ntp master 3�Ƚ񤯤٤����ʡ�
���Τ�����ϼ������ʤ��ΤǤĤä��ߤ���Фɤ�����
�� ntp master 1 �Ȥ�����ΤϺǾ�̤��ͥ�褵���startum=0���֤�
�� �ʤ뤫��ʤΤ��ʤȾ���˲�ᡣ
����Ʊ�����Ƥ���в����Υ��ޥ�ɤǸ��߻���ɽ����
---
Router2501_A#show clock
21:39:39.299 JST Sat Mar 5 2007
---
���Ƥ��ʤ������Ƭ�˥ԥꥪ��(.)���Ĥ���
---
Router2501_A#show clock
.21:19:03.787 JST Sat Mar 5 2007
---
�����NTP�����Ф����ꤪ��ӳ�ǧ��Ok��
���ϥ��饤�����¦��
�㻲�͡�
---clock set
�����եȥ����������å������ꤹ��
Router2501_A#clock set ?
hh:mm:ss Current Time
Router2501_A#clock set 00:00:00 ?
<1-31> Day of the month
MONTH Month of the year
Router2501_A#clock set 00:00:00 1 ?
MONTH Month of the year
Router2501_A#clock set 00:00:00 1 jan ?
<1993-2035> Year
���ϡ��ɥ����������å������ꤹ��
calender set
NTP�ϥ��եȥ����������å���������Τ�
�ϡ��ɥ����������å��⹹������������
ntp update-calendar ���ޥ�ɤ򤤤�Ƥ�����
��̵���ξ��ϥǥե���Ȥ����ä��褦�ʵ��⤹�롣
����JAPAN TAC��NTP ���㥤�ޡ�����
---
!/// Router2501_A�Υ���ե����ʥ��ԥ��ѡ�///
!
conf t
!
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router2501_A
!
no logging console
!
clock timezone JST 9
no aaa new-model
ip subnet-zero
no ip domain lookup
!
interface Ethernet0
ip address 192.168.0.100 255.255.255.0
no shut
!
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
exec-timeout 0 0
no login
!
ntp master
!
end
!
write memo
������