Cisco Systems SMC-169 manual Supported is md5, SMC-179

Page 11

Implementing NTP on Cisco IOS XR Software

How to Implement NTP on Cisco IOS XR Software

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

configure

Enters global configuration mode.

 

Example:

 

 

RP/0/RP0/CPU0:router# configure

 

Step 2

 

 

ntp

Enters NTP configuration mode.

 

Example:

 

 

RP/0/RP0/CPU0:router(config)# ntp

 

Step 3

 

 

authenticate

Enables the NTP authentication feature.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-ntp)# authenticate

 

Step 4

 

 

authentication-key key-numbermd5 [clear

Defines the authentication keys.

 

encrypted] key-name

Each key has a key number, a type, a value, and,

 

 

 

Example:

optionally, a name. Currently the only key type

 

supported is md5.

 

RP/0/RP0/CPU0:router(config-ntp)#

 

 

authentication-key 42 md5 clear key1

 

Step 5

 

 

trusted-key key-number

Defines trusted authentication keys.

 

 

If a key is trusted, this router only synchronizes to a

 

Example:

system that uses this key in its NTP packets.

 

RP/0/RP0/CPU0:router(config-ntp)# trusted-key

 

 

42

 

Step 6

 

 

end

Saves configuration changes.

 

or

When you issue the end command, the system prompts

 

 

 

commit

you to commit changes:

 

 

Uncommitted changes found, commit them before

 

Example:

exiting(yes/no/cancel)?

 

RP/0/RP0/CPU0:router(config)# end

[cancel]:

 

 

 

or

Entering yes saves configuration changes to the

 

RP/0/RP0/CPU0:router(config)# commit

 

running configuration file, exits the configuration

 

 

session, and returns the router to EXEC mode.

 

 

Entering no exits the configuration session and

 

 

returns the router to EXEC mode without

 

 

committing the configuration changes.

 

 

Entering cancel leaves the router in the current

 

 

configuration session without exiting or

 

 

committing the configuration changes.

 

 

Use the commit command to save the configuration

 

 

changes to the running configuration file and remain

 

 

within the configuration session.

 

 

 

Cisco IOS XR System Management Configuration Guide

SMC-179

Image 11
Contents Implementing NTP on Cisco IOS XR Software SMC-170 NTP Functional OverviewSMC-171 Configuring Poll-Based AssociationsPoll-Based Associations SMC-172 Summary StepsSMC-173 Configuring Broadcast-Based NTP AssociationsBroadcast-Based NTP Associations SMC-174 SMC-175 Configuring NTP Access GroupsNTP Access Groups SMC-176 SMC-177 SMC-178 Configuring NTP AuthenticationNTP Authentication SMC-179 Supported is md5SMC-180 Disabling NTP Services on a Specific InterfaceSMC-181 SMC-182 Configuring the Source IP Address for NTP PacketsSMC-183 SMC-184 Configuring the System as an Authoritative NTP ServerSMC-185 Updating the Hardware ClockSMC-186 SMC-187 Verifying the Status of the External Reference ClockExamples SMC-188 Configuring Poll-Based Associations ExampleConfiguring Broadcast-Based Associations Example SMC-189 Configuring NTP Access Groups ExampleConfiguring NTP Authentication Example SMC-190 Configuring the Source IP Address for NTP Packets ExampleDisabling NTP on an Interface Example MIBs Updating the Hardware Clock ExampleRelated Documents StandardsSMC-192 RFCsTechnical Assistance