cisco aci Ntp configuration

Short overview about Cisco Aci Ntp Configuration and what's good to know about.

Configuring NTP on Cisco ACI

Read more related to Cisco ACI: Cisco aci 4.2 ntp configuration
Cisco ACI uses the Network Time Protocol (NTP) to maintain the system time on the controllers. The system time is used to generate log messages and for other time-based features.

You can configure ACI to use an NTP server to synchronize the system time on the controllers. ACI supports multiple NTP servers and can use different NTP servers for different controllers in the cluster.

To configure NTP on ACI, you must first add one or more NTP servers to the configuration. Then you can enable NTP on the controllers.

Adding an NTP Server

To add an NTP server, use the ntp server command. The syntax of the command is:

ntp server [version ] [key ] [prefer]

where is the IP address or hostname of the NTP server. The optional parameters are described in the following table:

Parameter Description version The NTP version to use. The default is 3. key The authentication key to use. This is required if the NTP server is configured to use authentication. prefer Marks this server as the preferred server. Only one server can be marked as preferred.

For example, to add an NTP server with the IP address 10.1.1.1, you would use the following command:

ntp server 10.1.1.1

Enabling NTP

Once you have added one or more NTP servers to the configuration, you can enable NTP on the controllers. To do this, use the ntp enable command.

The ntp enable command has the following syntax:

ntp enable [authentication] [broadcast] [servers ]

where the optional parameters are described in the following table:

Parameter Description authentication Enables authentication. This must be specified if any of the NTP servers are configured to use authentication. broadcast Enables broadcasting. This allows the controllers to act as NTP servers for other devices on the network. servers A list of NTP servers to use. If this is not specified, all of the NTP servers in the configuration will be used.

For example, to enable NTP with authentication and broadcasting, you would use the following command:

ntp enable authentication broadcast

Related content