NTP Configuration

NTP Configuration

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

    • Related Articles

    • Where can I get the Configuration guide for SONiC

      Attached document provides the details about the Configuration of SONiC
    • Management Interface Configuration (SONiC)

      Configure the management interface (eth0) for network administration in SONiC. Default Configuration: By default, eth0 uses DHCP to dynamically obtain an IP address from a DHCP server. Static IP Configuration: Command Line: sudo config interface ip ...
    • How to do Management interface Configuration?

      At root mode Enabling DHCP dhclient eth0 Manual ip configuration config interface ip add eth0 ipaddress/subnetmask gateway Example:-config interface ip add eth0 192.168.1.1/24 192.168.1.100
    • Interface Configuration in SONiC

      To manage interface settings in SONiC, use the following commands. Change Interface Speed To modify the speed of an interface, use the command: sudo config interface speed <interface> <speed_in_Mbps> Example: sudo config interface speed ethernet10 ...
    • How to do Interface configuration?

      To change interface speed sudo config interface speed interface speed(in Mbps) Example:- sudo config interface speed ethernet48 40000 To change interface status (Startup/Shutdown) Shutdown sudo config interface shutdown interface Example :- sudo ...