3Com Switch 7750 Configuration Guide Guide

712 CHAPTER 66: NTP CONFIGURATION
NTP Server Mode with
Authentication
Configuration
Network requirements
The local clock of Switch 7750-1 operates as the master NTP clock, with the clock
stratum being 2.
Switch 7750-2 operates in client mode with Switch 7750-1 as the time server.
Switch 7750-1 operates in the server mode automatically. Meanwhile, NTP
authentication is enabled on both sides.
Network diagram
Figure 184 Network diagram for NTP server mode with authentication configuration
Configuration procedures
1 Configure Switch 7750-2.
# Enter system view.
<Switch 7750-2 > system-view
[Switch 7750-2]
# Configure Switch 7750-1 to be the time server.
[Switch 7750-2] ntp-service unicast-server 1.0.1.11
# Enable NTP authentication.
[Switch 7750-2] ntp-service authentication enable
# Set the MD5 key to 42, with the content being aNiceKey.
[Switch 7750-2] ntp-service authentication-keyid 42 authentication-m
ode md5 aNiceKey
# Specify the key to be a trusted key.
[Switch 7750-2] ntp-service reliable authentication-keyid 42
[[Switch 7750-2] ntp-service unicast-server 1.0.1.11
authentication-keyid 42
The above configuration synchronizes Switch 7750-2 to Switch 7750-1. As NTP
authentication is not enabled on Switch 7750-1, Switch 7750-2 will fail to be
synchronized to Switch 7750-1.
The following configuration is needed for Switch 7750-1.
# Enable authentication on Switch 7750-1.
[Switch 7750-1] system-view
[Switch 7750-1] ntp-service authentication enable
# Set the MD5 key to 42, with the content being aNiceKey.
1. 0.1. 11/24
1.0.1. 12/24
1. 0.1. 11/24
1.0.1. 12/24
Switch 7750-1
Switch 7750-2
1. 0.1. 11/24
1.0.1. 12/24
1. 0.1. 11/24
1.0.1. 12/24