3Com Switch 7750 Configuration Guide
760 CHAPTER 70: NTP CONFIGURATION
Configuring NTP
Authentication
Configuring NTP authentication on the client
n
■ NTP authentication requires that the authentication keys configured for the
server and the client are the same. Besides, the authentication keys must be
trusted keys. Otherwise, the client cannot be synchronized with the server.
■ In NTP server mode and NTP peer mode, you need to associate the specified
key with the corresponding NTP server/active peer on the client/passive peer. In
these two modes, multiple servers/active peers may be configured for a
client/passive peer, and a client/passive choose the server/active peer to
synchronize to by the authentication key.
Configuring NTP authentication on the server
Table 604 Configure NTP authentication on the client
Operation Command Description
Enter system view system-view -
Enable NTP
authentication
globally
ntp-service authentication
enable
Required
By default, the NTP authentication
is disabled
Configure the NTP
authentication key
ntp-service
authentication-keyid key-id
authentication-model md5
value
Required
By default, the NTP authentication
key is not configured
Configure the
specified key to be a
trusted key
ntp-service reliable
authentication-keyid key-id
Required
By default, no trusted
authentication key is configured
Associate the
specified key with the
corresponding NTP
server
NTP client mode:
ntp-service
unicast-server { remote-ip |
server-name }
authentication-keyid key-id
■ In NTP client mode and NTP
peer mode, you need to
associate the specified key with
the corresponding NTP server
on the client.
■ You can associate the NTP
server with the authentication
key while configuring the
switch to operate in a specific
NTP mode. You can also
associate them using this
command after configuring the
NTP mode where the switch is
to operate
Peer mode:
ntp-service
unicast-peer { remote-ip |
peer-name }
authentication-keyid key-id
Table 605 Configure NTP authentication on the server
Operation Command Description
Enter system view system-view -
Enable NTP
authentication
ntp-service authentication
enable
Required
By default, NTP authentication is
disabled
Configure NTP
authentication key
ntp-service
authentication-keyid key-id
authentication-model md5
value
Required
By default, NTP authentication key
is not configured