3com 3031 Instruccion De Instalación
NTP Typical Configuration Examples
87
NTP Typical
Configuration
Examples
Configuration
Examples
This section provides the following configuration examples:
■
■
■
■
■
■
Configuring NTP Server
Networking requirements
Router1 sets the local clock as the NTP master clock and the stratum number is 2.
Router2 takes Router1 as the time server and set it to server mode. Router2 sets
itself as client mode.
Router2 takes Router1 as the time server and set it to server mode. Router2 sets
itself as client mode.
Networking diagram
Figure 16 NTP typical configuration networking diagram
Configuration procedure
1 Configure Router1
a Enter the system view.
<Router1>system-view
b Set the local clock as the NTP master clock and the stratum number is 2.
[Router1]ntp-service refclock-master 2
2 Configure Router2
Display the summary information of each NTP
time server from the local device tracing to
the reference clock source
time server from the local device tracing to
the reference clock source
display ntp-service trace [
X.X.X.X ]
X.X.X.X ]
Enable NTP debugging switch
debugging ntp-service { all |
access | adjustment
|authentication | event | filter
| packet | parameter | refclock |
selection | synchronization |
validity }
access | adjustment
|authentication | event | filter
| packet | parameter | refclock |
selection | synchronization |
validity }
Table 93 NTP monitoring and maintenance
......
Ethernet1/0/0:
1.0.1.11
1.0.1.11
Quidway0
Quidway1
Quidway2
Quidway3
Quidway4
Quidway5
Ethernet1/0/0:
1.0.1.12
1.0.1.12
Ethernet1/0/0:
3.0.1.31
3.0.1.31
Ethernet1/0/0:
3.0.1.32
3.0.1.32
Ethernet1/0/0:
3.0.1.33
3.0.1.33
1.0.1.2
3.0.1.2
Router1
Router2
Router 0
Router4
Router3
Router5