Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nx 7000 NTP problem

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?

24 REPLIES
Cisco Employee

Nx 7000 NTP problem

You are using CFS to sync NTP time, is this what you want to do?

Also, is this configured under admin VDC or other VDC contexts?

Regards,

jerry

New Member

Nx 7000 NTP problem

Actually, i do not want to usee CFS. Standart NTP config is ok. But only cfs worked o other switch.

we have 4 ntp servsers. Nexus default vdc should sync from one of the servers. but it does not work. do you have any suggestion?

Cisco Employee

Re: Nx 7000 NTP problem

None CFS config should work. You can turn off CFS for NTP with the following command (from my memory):

no ntp commit

no ntp distributed

I am also assuming you can reach the NTP server via the management interface.

Regards,

jerry

New Member

Re: Nx 7000 NTP problem

last config is:

NX1# ping 10.10.10.29 vrf management

PING 10.10.10.29 (10.10.10.29): 56 data bytes

64 bytes from 10.10.10.29: icmp_seq=0 ttl=126 time=1.02 ms

64 bytes from 10.10.10.29: icmp_seq=1 ttl=126 time=0.686 ms

64 bytes from 10.10.10.29: icmp_seq=2 ttl=126 time=0.638 ms

64 bytes from 10.10.10.29: icmp_seq=3 ttl=126 time=0.706 ms

64 bytes from 10.10.10.29: icmp_seq=4 ttl=126 time=0.619 ms

--- 10.10.10.29 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.619/0.733/1.02 ms

NX1# sh run ntp

!Command: show running-config ntp

!Time: Sat Jan  1 12:16:52 2000

version 6.0(1)

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

we have 3560 swtiches. ntp server works ok on 3560s..

Cisco Employee

Re: Nx 7000 NTP problem

Can you post the output of

show ntp status

show ntp session status

Regards,

jerry

New Member

Re: Nx 7000 NTP problem

NX1# show ntp status

Distribution : Disabled

Last operational state: Commit operation failed

NX1#

NX1# show ntp session status

Last Action Time Stamp     : Sat Jan  1 12:15:27 2000

Last Action                : Clear

Last Action Result         : Fail

Last Action Failure Reason : ntp(0x40370035)- Fabric Distribution not enabled for NTP

NX1#

Cisco Employee

Re: Nx 7000 NTP problem

Sorry, asked for the wrong commands, can you post the following?

show ntp peer-status

Regards,

jerry

New Member

Re: Nx 7000 NTP problem

NX1# sh ntp peer-status

nothing comes..

with debug:

NX1# sh ntp peer-status

2000 Jan  2 06:37:10.353162 ntp: ntp_process_mts_msg: Opcode received: MTS_OPC_NTP_SHOW_REQ

2000 Jan  2 06:37:10.364914 ntp: ntp_doquery: sendrequest, num attempts = 30

2000 Jan  2 06:37:10.383651 ntp: ntp_doquery: sendrequest, num attempts = 29

2000 Jan  2 06:37:10.393850 ntp: ntp_doquery: sendrequest, num attempts = 28

2000 Jan  2 06:37:10.404032 ntp: ntp_doquery: sendrequest, num attempts = 27

2000 Jan  2 06:37:10.414196 ntp: ntp_doquery: sendrequest, num attempts = 26

2000 Jan  2 06:37:10.424369 ntp: ntp_doquery: sendrequest, num attempts = 25

2000 Jan  2 06:37:10.434534 ntp: ntp_doquery: sendrequest, num attempts = 24

2000 Jan  2 06:37:10.444710 ntp: ntp_doquery: sendrequest, num attempts = 23

2000 Jan  2 06:37:10.454893 ntp: ntp_doquery: sendrequest, num attempts = 22

2000 Jan  2 06:37:10.465088 ntp: ntp_doquery: sendrequest, num attempts = 21

2000 Jan  2 06:37:10.475260 ntp: ntp_doquery: sendrequest, num attempts = 20

2000 Jan  2 06:37:10.485440 ntp: ntp_doquery: sendrequest, num attempts = 19

2000 Jan  2 06:37:10.495608 ntp: ntp_doquery: sendrequest, num attempts = 18

2000 Jan  2 06:37:10.505782 ntp: ntp_doquery: sendrequest, num attempts = 17

2000 Jan  2 06:37:10.515952 ntp: ntp_doquery: sendrequest, num attempts = 16

2000 Jan  2 06:37:10.526124 ntp: ntp_doquery: sendrequest, num attempts = 15

2000 Jan  2 06:37:10.536289 ntp: ntp_doquery: sendrequest, num attempts = 14

2000 Jan  2 06:37:10.546466 ntp: ntp_doquery: sendrequest, num attempts = 13

2000 Jan  2 06:37:10.556631 ntp: ntp_doquery: sendrequest, num attempts = 12

2000 Jan  2 06:37:10.566804 ntp: ntp_doquery: sendrequest, num attempts = 11

2000 Jan  2 06:37:10.576968 ntp: ntp_doquery: sendrequest, num attempts = 10

2000 Jan  2 06:37:10.587142 ntp: ntp_doquery: sendrequest, num attempts = 9

2000 Jan  2 06:37:10.597307 ntp: ntp_doquery: sendrequest, num attempts = 8

2000 Jan  2 06:37:10.607475 ntp: ntp_doquery: sendrequest, num attempts = 7

2000 Jan  2 06:37:10.617637 ntp: ntp_doquery: sendrequest, num attempts = 6

2000 Jan  2 06:37:10.627807 ntp: ntp_doquery: sendrequest, num attempts = 5

2000 Jan  2 06:37:10.637976 ntp: ntp_doquery: sendrequest, num attempts = 4

2000 Jan  2 06:37:10.648159 ntp: ntp_doquery: sendrequest, num attempts = 3

NX1# 2000 Jan  2 06:37:10.658325 ntp: ntp_doquery: sendrequest, num attempts = 2

2000 Jan  2 06:37:10.668506 ntp: ntp_doquery: sendrequest, num attempts = 1

2000 Jan  2 06:37:10.668603 ntp: ntp_doquery: ntp_doquery through

2000 Jan  2 06:37:10.668643 ntp: ntp_handle_show_peer_summary: Could not get peer summary, ret_val = 1077346326, num_recvd = 0

2000 Jan  2 06:37:10.668700 ntp: Sending cmi response with return_code = 0x40370016

2000 Jan  2 06:37:10.668735 ntp: setting global CMI msg req to NULL

NX1#

NX1#

New Member

Nx 7000 NTP problem

Hi,

Can you execute follwoing configuration on your Nexus 7K router and check.

ntp distribute

ntp server SERVER_IP

ntp server SERVER_IP

ntp commit

Thanks

Sri

Cisco Employee

Re: Nx 7000 NTP problem

ntp distribute and ntp commit will enable CFS on NTP which the original poster doesn't want to use.

Regards,

jerry

Sent from Cisco Technical Support iPhone App

New Member

Re: Nx 7000 NTP problem

ntp distribute

ntp server SERVER_IP

ntp server SERVER_IP

ntp commit

i have tried that many times, it did not work.

Cisco Employee

Re: Nx 7000 NTP problem

you can try the following

clear ntp session

And check it with show ntp peer-status. If still doesn't work, remove all ntp server command and reapply them again.

Sent from Cisco Technical Support iPhone App

New Member

Re: Nx 7000 NTP problem

NX1(config)# clear ntp session

Fabric Distribution not enabled for NTP

NX1(config)# ntp server 10.10.10.29 use-vrf management

NX1(config)#

NX1(config)# do sh clock

07:34:11.014 TURKEY Sun Jan 02 2000

Cisco Employee

Re: Nx 7000 NTP problem

I am assuming this is configured in the default VDC. If yes, I would like to see the NTP configuration of the server (if it is IOS). Just want to make sure there is no ACL blocking it.

Regards,

jerry

Sent from my iPhone

New Member

Re: Nx 7000 NTP problem

just and only

ntp server 10.10.10.29

2960 switch

Sent from Cisco Technical Support iPhone App

Cisco Employee

Re: Nx 7000 NTP problem

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

New Member

Re: Nx 7000 NTP problem

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

New Member

Nx 7000 NTP problem

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?

Cisco Employee

Re: Nx 7000 NTP problem

Here is the bug ID

CSCtt17080

I kind of suspect Muhammed is hitting the same bug.

Regards,

jerry

New Member

Re: Nx 7000 NTP problem

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

Cisco Employee

Re: Nx 7000 NTP problem

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

New Member

Re: Nx 7000 NTP problem

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. 

Cisco Employee

Re: Nx 7000 NTP problem

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

New Member

Nx 7000 NTP problem

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

5498
Views
0
Helpful
24
Replies
CreatePlease login to create content