Configuring NTP Client Mode for a C-series Controller (SRC CLI)

Use the following configuration statements to configure NTP on a C-series Controller to operate in client mode:

system ntp server address{
version version;
prefer;
}

To configure NTP to operate in client mode:

  1. From configuration mode, access the configuration statement that configures an NTP server, and specify the IP address or hostname of an NTP server.
      [edit system ntp]
      user@host# edit server address

    For example, to specify an NTP server that has an IP address of 192.0.2.30:

      [edit system ntp]
      user@host# edit server 192.0.2.30
      [edit system ntp server 192.0.2.30]
      user@host#
  2. (Optional) Specify the version of NTP to be used for outgoing packets.
      [edit system ntp server address ]
      user@host# set version version
  3. (Optional) If you configure more than one time server, specify whether this server is to be contacted first for synchronization.
      [edit system ntp server address ]
      user@host# set prefer