cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
272
Views
0
Helpful
3
Replies

What are the commands to sync cisco XR 9000 router with NTP server?

rajangahlout
Level 1
Level 1

Hi Team,
We need to sync the time of our ASR 9000 router with our custom NTP server. We are able to ping the IP of NTP server from management VRF. Can anyone please share the commands/steps to configure router.
Thanks

3 Replies 3

DaviRocK!
Level 1
Level 1

Hi

 

Here's an example configuration for synchronizing the time of a Cisco ASR 9000 series router with a custom NTP server. This example assumes that your NTP server's IP address is 192.168.1.100 and you're using the management VRF named Mgmt-intf

configure terminal

ntp server 192.168.1.100 vrf Mgmt-intf

ntp source GigabitEthernet0

clock timezone EST -5

Verify NTP Configuration: After applying the configurations, you can check the NTP status:

show ntp status
show ntp associations

Best regards

 

balaji.bandi
Hall of Fame
Hall of Fame

follow below guide :

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-9/system-management/configuration/guide/b-system-management-cg-asr9000-79x/configuring-ntp.html

If you looking mgmt VRF you need to specify as source interface - example :

peer ip-address [version number] [key key-id] [minpoll interval] [maxpoll interval] [source type interface-path-id] [prefer]

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

M02@rt37
VIP
VIP

Hello @rajangahlout 

 

ntp
 server vrf <VRF NAME> <IP SERVER NTP #1> source <INTERFACE SOURCE>
 server vrf <VRF NAME> <IP SERVER NTP #2> source <INTERFACE SOURCE>
 update-calendar

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.