version 11.3
no service password-encryption
!
hostname Send_ntp
!
!
clock timezone est 5
clock summer-time est recurring
!
interface Ethernet0
ip address 172.16.2.32 255.255.255.0
!
interface Serial0
ip address 172.16.4.5 255.255.255.252
no ip mroute-cache
ntp broadcast
no fair-queue
!
interface Serial1
no ip address
shutdown
!
router rip
network 172.16.0.0
!
ip classless
line con 0
line 1 8
line aux 0
line vty 0 4
!
ntp master
end
To configure the receiving router, just point it to the time server.
Before router is configured to receive time from NTP server:
receive_ntp#sh clock
*00:05:04.359 UTC Mon Mar 1 1993
receive_ntp#config t
Enter configuration commands, one per line. ...
End with CNTL/Z.
receive_ntp(config)#ntp server ...
172.16.4.5
receive_ntp(config)#^Z
%SYS-5-CONFIG_I: Configured from console by ...
console
receive_ntp#sh clock
.02:31:46.866 UTC Wed Jan 20 1999
receive_ntp#sh run
Building configuration...
Current configuration:
!
version 11.3
no service password-encryption
!
hostname receive_ntp
interface Serial0
ip address 172.16.4.6 255.255.255.252
no ip mroute-cache
clockrate 56000