3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
NTP Configuration Example
767
Network diagram
Figure 179 Network diagram for NTP configuration example
Configuration procedure
Configure Switch 3Com1.
# Enter system view.
<3Com1> system-view
# Set the local clock as the master NTP clock at stratum 2.
[3Com1] ntp-service refclcok-master 2
Configure Switch 3Com2.
# Enter system view.
<3Com2> system-view
# Set 3Com1 as time server.
[3Com2[ ntp-service unicast-server 1.0.1.11
# Enable authentication.
[3Com2] ntp-service authentication enable
# Set the key.
[3Com2] ntp-service authentication-keyid 42 authentication-mode md5
aNiceKey
# Set the key as reliable.
[3Com2] ntp-service reliable authentication-keyid 42
[Qudiway2] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
The above examples synchronized 3Com2 by 3Com1. Since 3Com1 has not been
enabled authentication, it cannot synchronize 3Com2. And now let us do the
following additional configurations on 3Com1.
enabled authentication, it cannot synchronize 3Com2. And now let us do the
following additional configurations on 3Com1.
# Enable authentication.
[3Com1] ntp-service authentication enable
......
Vlan - interface2:
1.0.1.11
1.0.1.11
3Com-0
3Com-1
3Com-2
3Com-3
3Com-4
3Com-5
Vlan - interface2:
1.0.1.12
1.0.1.12
Vlan - interface2:
3.0.1.31
Vlan - interface2:
3.0.1.32
Vlan - interface2:
3.0.1.33
1.0.1.2 3.0.1.2