The main objective of this challenge is to set NTP (Network Time Protocol) settings. A sample configuration is:
R1(config)# ntp master 2 R1(config)# ntp server 1.2.3.4 R1(config)# ntp authenticate R1(config)# ntp authentication-key 1 md5 test R1(config)# ntp trusted-key 1
For example:
R1(config)# ntp ? access-group Control NTP access authenticate Authenticate time sources authentication-key Authentication key for trusted time sources broadcastdelay Estimated round-trip delay clock-period Length of hardware clock tick master Act as NTP master clock max-associations Set maximum number of associations peer Configure NTP peer server Configure NTP server source Configure interface for source address trusted-key Key numbers for trusted time sources R1(config)# ntp master ? <1-15> Stratum numberR1(config)# ntp master 2 R1(config)# ntp server ? Hostname or A.B.C.D IP address of peer vrf VPN Routing/Forwarding Information R1(config)# ntp server 1.2.3.4 R1(config)# ntp authenticate R1(config)# ntp authentication-key ? <1-4294967295> Key number R1(config)# ntp authentication-key 1 ? md5 MD5 authentication R1(config)# ntp authentication-key 1 md5 ? WORD Authentication key R1(config)# ntp authentication-key 1 md5 test R1(config)# ntp trusted-key ? <1-4294967295> Key number R1(config)# ntp trusted-key 1