cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1069
Views
0
Helpful
6
Replies

Cisco Nexus 3172 NTP

Hello!

 

I'm trying to make the NTP synchronisation work by the management interface and vrf. 

 

Here's my config that does not work:

It doesn't even seem to get started at all... 


clock protocol ntp vdc 1
ip access-list copp-system-acl-ntp
10 permit udp any any eq ntp
20 permit udp any eq ntp any
class-map type control-plane match-any copp-ntp
match access-group name copp-system-acl-ntp
class copp-ntp
ntp peer X.X.X.1 prefer use-vrf management
ntp peer X.X.X.2 prefer use-vrf management
ntp source-interface mgmt0

 

N2(config)# show ntp status
Distribution : Disabled
Last operational state: No session

 

 
N2(config)# show ntp peer-status
Total peers : 2
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-------------------------------------------------------------------------------
+Peer1 ManagementIP 16 64 0 0.00000 management
+Peer2 ManagementIP 16 64 0 0.00000 management

Thanks for your help

1 Accepted Solution

Accepted Solutions

alol i have on my nexus switches is ntp server x.x.x.x use-vrf management

what does the sh clock details command show is NTP enabled

View solution in original post

6 Replies 6

Mark Malone
VIP Alumni
VIP Alumni
Hi
try ntp server instead of peer and is feature ntp enabled too

I tried both. When using ntp server instead, peers show in default vrf.

And yes, ntp feature is already on.

 

Thanks

alol i have on my nexus switches is ntp server x.x.x.x use-vrf management

what does the sh clock details command show is NTP enabled

hum yeah your right.

 

What do you get with show ntp status ?

 

same disabled but thats NTP distribution , once the clock source is NTP your good

Well it does seem to work. And I think somehow in my troubleshooting I was not looking at the good status.

 

Thanks for your help!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card