12-29-2011 09:16 AM - edited 03-07-2019 04:05 AM
hi,
i am not able to work ntp on Nexus. Same config works on other nexus.
NX1(config)# ntp commit
NX1(config)# 2000 Jan 1 11:13:07.117520 ntp: ntp_get_session_info: fc_ct_get_session_context failed [0x40bb0007]
2000 Jan 1 11:13:07.118988 ntp: ntp_conf_peer: Added element 1d0a0a0a to peer_list
2000 Jan 1 11:13:07.119149 ntp: ntp_conf_peer: Added element 1e0a0a0a to peer_list
2000 Jan 1 11:13:07.119278 ntp: ntp_conf_peer: Added element 1f0a0a0a to peer_list
2000 Jan 1 11:13:07.119402 ntp: ntp_conf_peer: Added element 200a0a0a to peer_list
2000 Jan 1 11:13:07.122960 ntp: ntp_conf_peer: Added element 1d0a0a0a to peer_list
2000 Jan 1 11:13:07.123061 ntp: ntp_conf_peer: Added element 1e0a0a0a to peer_list
2000 Jan 1 11:13:07.123150 ntp: ntp_conf_peer: Added element 1f0a0a0a to peer_list
2000 Jan 1 11:13:07.123240 ntp: ntp_conf_peer: Added element 200a0a0a to peer_list
NX1(config)# end
NX1# 2000 Jan 1 11:13:17 NX1 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on 192.168.201.5@pts/25
NX1#
NX1# sh clock
11:13:20.422 TURKEY Sat Jan 01 2000
NX1# sh run ntp
!Command: show running-config ntp
!Time: Sat Jan 1 11:13:28 2000
version 6.0(1)
ntp distribute
ntp server 10.10.10.29 use-vrf management
ntp server 10.10.10.30 use-vrf management
ntp server 10.10.10.31 use-vrf management
ntp server 10.10.10.32 use-vrf management
ntp source-interface mgmt0
ntp commit
NX1# sh ntp peers
NX1# 2000 Jan 1 11:15:13.125365 ntp: ntp_handle_show_peer_list: Could not get peer list, ret_val = 1077346326, num_recvd = 0
NX1# sh ntp peers ?
<CR>
> Redirect it to a file
>> Redirect it to a file in append mode
| Pipe command output to filter
NX1# sh ntp peer-status
NX1# 2000 Jan 1 11:15:24.636950 ntp: ntp_handle_show_peer_summary: Could not get peer summary, ret_val = 1077346326, num_recvd = 0
What should be the problem?
12-30-2011 07:25 AM
just and only
ntp server 10.10.10.29
2960 switch
Sent from Cisco Technical Support iPhone App
12-30-2011 07:32 AM
hm... Interesting, I am kind of out of clue right now, I know there is a bug where non default VDC not able to sync with the NTP server.
Sent from Cisco Technical Support iPhone App
12-30-2011 07:47 AM
it runs 6.01
i setup another 4 boxes which belongs to another customer, they do not have the problem. there is just ntp server command
Sent from Cisco Technical Support iPhone App
01-04-2012 08:06 PM
I just upgraded to 5.2(3a) so I would be able to use my 7Ks as NTP servers. It seems that I can only get them to function using the default VDC. When I setup the NTP servers in my second production VDC nothing works. A show of ntp peers results in exactly what Muhammed was seeing. Anyone have any ideas?
01-04-2012 08:11 PM
01-04-2012 08:16 PM
Thanks Jerry,
I have the bug saved, I'll keep an eye on it. I'm probably going to configure the default VDCs as NTP servers for now, if only they would resolve DNS addresses and not give me the error "Cannot resolve the domain name."
Andrew
01-04-2012 08:20 PM
Do you have internal NTP server? If you do, you can use its IP instead of rely on DNS to resolve the host name.
Regards,
jerry
01-04-2012 08:23 PM
I was planning on using the 4 7Ks as the internal NTP servers for our entire network. The only other NTP servers are a few Windows 2008 servers, which I didn't think were as reliable. I was hoping to sync them with the 0.us.pool.ntp.org servers which change their IPs regularly. I forgot I hadn't turned on the ip domain-lookup.
01-04-2012 08:26 PM
Okay. Thanks for sharing your setup. You would also set up your 7Ks as NTP peer which should provide more reliable NTP clock.
Regards,
jerry
08-08-2012 12:33 PM
hi
in the default VDC, make sure you have the following command:
use the clock protocol ntp vdc (default vdc-id ) in my case I want the default VDC to set the time for entire box / VDC's.
I am presently monkeying around these configs in my lab. I can try some config for you, if you wish.
right now my configs are:
ntp server 10.199.0.190 prefer use-vrf management // my linux NTP server
ntp peer 10.199.255.25 use-vrf management //my second N7K box mgmt0 interface
ntp source-interface mgmt0
ntp logging
this works like a charm.
N7K1_DEFAULT(config)# sh 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
-------------------------------------------------------------------------------
*10.199.0.190 10.199.255.20 3 64 377 0.00084 management
+10.199.255.25 10.199.255.20 4 64 377 0.00079 management
HTH
danv
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide