3com 3031 Instruccion De Instalación
NTP Typical Configuration Examples
89
[Router3]ntp-service refclock-master 2
2 Configure Router4
a Enter the system view.
<Router4>system-view
b Set Router3 as the time server and the stratum number is 3 after
synchronization.
[Router4]ntp-service unicast-server 3.0.1.31
3 Configure Router5 (Router4 has been synchronized to Router3)
a Enter the system view.
<Router5>system-view
b Set the local clock as the NTP master clock and stratum number is 1.
[Router5]ntp-service refclock-master 1
c Set Router4 peer after the local is synchronized.
[Router5]ntp-service unicast-peer 3.0.1.32
The above configurations make Router4 and Router5 as peers. Router5 is in active
peer mode and Router4 is in passive peer mode. Because the stratum number of
Router5 is 1 and that of Router4 is 3, Router4 is synchronized to Router5.
peer mode and Router4 is in passive peer mode. Because the stratum number of
Router5 is 1 and that of Router4 is 3, Router4 is synchronized to Router5.
The state of Router4 includes:
<Router4>display ntp-service status
clock status: synchronized, stratum: 2, reference clock ID: 3.0.1.33
nominal freq: 250.0000 Hz, actual freq: 249.9992 Hz, precision:
2**19
offset: 198.7425 ms, reftime: 17:03:32.022 UTC Thu Sep 6 2001
(BF422AE4.05AEA86C)
root delay : 27.47 ms, root disper: 208.39 ms, peer disper: 9.63 ms
Now Router4 is synchronized with Router5. Its stratum number is 2, which is 1
number larger than that of Router5.
number larger than that of Router5.
The association state of Router4 displays that Router4 has established connection
with Router5.
with Router5.
[Router4]display ntp-service sessions
source refid st now poll reach delay offset
dis
********************************************************************
[12345]127.127.7.1 LOCAL(0) 3 1 64 377 26.1 199.53
9.7
note: 1 source(master),2 source(peer),3 selected,4 candidate,5
configured
Configuring NTP
Broadcast Mode
Networking requirements
Router3 sets the local clock as the NTP master clock and the stratum number is 2.
It transmits broadcast packets from Ethernet 1/0/0. Router4 and Router1 are set to
listen to the broadcast message from their interfaces respectively.
It transmits broadcast packets from Ethernet 1/0/0. Router4 and Router1 are set to
listen to the broadcast message from their interfaces respectively.