Network Time Protocol (Cisco)
Technology: Network Services
Area: Network Time Protocol (NTP)
Vendor: Cisco
Software: IOS 12.X , 15.X
Platform: Cisco
The Network Time Protocol (NTP) is able to synchronize the time of day between time servers and clients which are distributed so that the events can correlate when receiving system logs and other time-specific events from multiple network devices. NTP uses the User Datagram Protocol (UDP) as its transport protocol.
To configure an NTP server of IP 192.168.110.10 as a time reference:
switch# configure terminal
switch(config)# ntp server 192.168.110.10
If NTP server supports authentication, use key command:
switch(config)# ntp server 192.168.110.10 key YYYY (secret key)
To configure ntp in ipv6 environment:
switch(config)# ntp peer xxxx:xxxx::xxxx
To verify ntp settings:
switch(config)# show ntp peers
--------------------------------------------------
Peer IP Address Serv/Peer
--------------------------------------------------
xxxx:xxxx::xxxx Peer (configured)
192.168.110.10 Server (configured)