Configuring NTP
Configuring NTP
The device does not have a hardware-supported clock and cannot function as an NTP primary clock to which
peers synchronize themselves when an external NTP source is not available. The device also has no hardware
support for a calendar. As a result, the ntp update-calendar and the ntp master commands in global
configuration mode are not available.
These following sections provide configuration information on NTP:
Default NTP Configuration
shows the default NTP configuration.
Table 3: Default NTP Configuration
Feature
NTP authentication
NTP peer or server associations
NTP broadcast service
NTP access restrictions
NTP packet source IP address
NTP is enabled on all interfaces by default. All interfaces receive NTP packets.
Configuring NTP Authentication
To configure NTP authentication, perform this procedure:
SUMMARY STEPS
1. enable
2. configure terminal
3. [no] ntp authenticate
4. [no] ntp authentication-key number {md5 | cmac-aes-128 | hmac-sha1 | hmac-sha2-256} value
5. [no] ntp authentication-key number {md5 | cmac-aes-128 | hmac-sha1 | hmac-sha2-256} value
6. [no] ntp authentication-key number {md5 | cmac-aes-128 | hmac-sha1 | hmac-sha2-256} value
7. [no] ntp trusted-key key-number
8. [no] ntp server ip-address key key-id [prefer]
9. end
DETAILED STEPS
Command or Action
Step 1
enable
Example:
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
16
Default Setting
Disabled. No authentication key is specified.
None configured.
Disabled; no interface sends or receives NTP
broadcast packets.
No access control is specified.
The source address is set by the outgoing interface.
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
Administering the Device
Need help?
Do you have a question about the Catalyst 9200 and is the answer not in the manual?
Questions and answers