DES-7200 Configuration Guide Chapter 3 NTP
Configuration
! Enable NTP global authentication
SwitchB(config)# ntp authenticate
! Configure NTP global authentication key as "helloworld" and the
corresponding key ID as "6"
SwitchB(config)# ntp authentication-key 6 md5 helloworld
! Specify "6" as the NTP global trusted key ID
SwitchB(config)# ntp trusted-key 6
! Configure Switch A as the NTP server and set the key ID for communicating
with this server as "6"
SwitchB(config)# ntp server 1.1.1.1 key 6
3.4.2.5 Verify Configurations
Display the configurations of NTP server. Key points: NTP master clock
configuration, NTP server's IP address, and authentication related
configurations.
SwitchA#show run
!
interface VLAN 1
no ip proxy-arp
ip address 1.1.1.1 255.255.255.0
!
ntp authentication-key 6 md5 07360623191d300a004609 7
ntp authenticate
ntp trusted-key 6
ntp master 12
!
Display the configurations of NTP client. Key points: IP address and key ID of
NTP server, and authentication related configurations.
SwitchB #show run
!
interface VLAN 1
no ip proxy-arp
ip address 1.1.1.20 255.255.255.0
3-14