NTP is crucial for synchronizing the time across all devices within a network. NTP plays a pivotal role in ensuring that all network components maintain accurate time settings which is essential for activities like logging, security protocols and various network services.
Adding an NTP Server:
Use the following command to add a new NTP server:
config ntp add <server_ip>
Example: config ntp add 192.168.1.100
Removing an NTP Server:
To remove a configured NTP server:
config ntp del <server_ip>
Example: config ntp del 192.168.1.100
Viewing NTP Status:
Use this command to view the current NTP peers and their status:
show ntp