3Com Switch 8800 Family Configuration Guide
NTP Configuration Example 761
NTP Configuration
Example
Configuring a NTP
Server
Network requirements
On 3Com1, set local clock as the NTP master clock at stratum 2. On 3Com2,
configure 3Com1 as the time server in server mode and set the local equipment as
in client mode. (Note: 3Com1 supports to configure the local clock as the master
clock)
Network diagram
Figure 177 Typical NTP configuration network diagram
Configuration procedure
Configure Switch 3Com1:
# Enter system view.
<3Com1> system-view
# Set the local clock as the NTP master clock at stratum 2.
[3Com1] ntp-service refclock-master 2
Configure Switch 3Com2:
# Enter system view.
<3Com2> system-view
# Set 3Com1 as the NTP server.
[3Com2] ntp-service unicast-server 1.0.1.11
The above examples synchronized 3Com2 by 3Com1. Before the synchronization,
the 3Com2 is shown in the following status:
Vla n ˉinterface2:
1.0.1.11
3Com-1
3.0.1.31
1.0.1.2
3.0.1.2
Vla n ˉinterface2:
Vla n ˉinterface2:
Vla n ˉinterface2:
Vla n ˉinterface2:
1.0.1.12
3.0.1.32
3.0.1.33
Vla n ˉinterface2:
1.0.1.11
3.0.1.31
1.0.1.2
3.0.1.2
Vla n ˉinterface2:
Vla n ˉinterface2:
Vla n ˉinterface2:
Vla n ˉinterface2:
3Com-2
3Com-3
3Com-4
3Com-5
1.0.1.12
3Com-0
3.0.1.32
3.0.1.33