3com 3031 Instruccion De Instalación
NTP Typical Configuration Examples
93
<Router4>system-view
b Enter the interface Ethernet 1/0/0 view.
[Router4]interface Ethernet 1/0/0
c Set the multicast client mode.
[Router4-Ethernet1/0/0]ntp-service multicast-client
3 Configure Router1
a Enter the system view.
<Router1>system-view
b Enter the interface Ethernet 1/0/0 view.
[Router1]interface ethernet 1/0/0
c Set the multicast client mode.
[Router1-Ethernet1/0/0]ntp-service multicast-client
In the above configuration, Router4 and Router1 are configured to listen to
broadcast messages from Ethernet 1/0/0 and Router3 is configured to transmit
broadcast packets from Ethernet 1/0/0. Because Router1 and Router3 are on
different network segment, Router1 cannot receive the broadcast packets
transmitted by Router3. Router4 is synchronized with Router3 after receiving the
broadcast packets transmitted by Router3.
broadcast messages from Ethernet 1/0/0 and Router3 is configured to transmit
broadcast packets from Ethernet 1/0/0. Because Router1 and Router3 are on
different network segment, Router1 cannot receive the broadcast packets
transmitted by Router3. Router4 is synchronized with Router3 after receiving the
broadcast packets transmitted by Router3.
The state of Router4 after synchronization includes:
<Router2>display ntp-service status
clock status: synchronized, stratum: 3, reference clock ID: 3.0.1.31
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 Router3. Its stratum number is 3, which is 1
number larger than that of Router3.
number larger than that of Router3.
The association state of Router4 displays that Router4 has established connection
with Router3.
with Router3.
<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 Server
Mode with ID
Authentication
Networking requirements
Router1 sets the local clock as the NTP master clock and the stratum number is 2.
Router2 sets Router1 as the time server and sets it to server mode. Router2 sets
itself as client mode and adds ID authentication to it.
Router2 sets Router1 as the time server and sets it to server mode. Router2 sets
itself as client mode and adds ID authentication to it.