Configuring Ntp Authentication - Cisco Catalyst 9500 Manual

Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Administering the Device
Feature
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 trusted-key key-number
6. [no] ntp server ip-address key key-id [prefer]
7. end
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
[no] ntp authenticate
Example:
Device(config)# ntp authenticate
Step 4
[no] ntp authentication-key number {md5 | cmac-aes-128
| hmac-sha1 | hmac-sha2-256} value
Example:
Device(config)# ntp authentication-key 42 md5
aNiceKey
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
Default Setting
No access control is specified.
The source address is set by the outgoing interface.
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Enables NTP authentication.
Use the no form of this command to disable NTP
authentication
Defines the authentication keys.
• Each key has a key number, a type, and a value.
• Keys can be one of the following types:
• md5: Authentication using the MD5 algorithm.
Configuring NTP Authentication
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents