Tags

,

Basic configuration

IP address of server 10.10.10.1.

For the server.

# conf t
# ntp master 5

 

For the client.

# conf t
# ntp server 10.10.10.1

With authentication

CISCO is the authentication key encrypted in md5.
IP address of server 10.10.10.1.

For the server.

# conf t
# ntp master 5
# ntp authentication-key 1 md5 CISCO 1
# ntp authenticate

 

For the client.

# conf t
# ntp server 10.10.10.1
# ntp authentication-key 1 md5 CISCO 1
# ntp authenticate

Verifying synchronicity of the time

# show ntp associations
# show ntp status
Advertisements