cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
926
Views
0
Helpful
2
Replies

Losing my mind with 'show clock' output on a Nexus 7700

sdavids5670
Level 2
Level 2

We have dozens of 7700s in our data centers and I have configured my 7700's NTP exactly like the many which appear to be working properly BUT whenever I type 'show clock' on this 7700 I see the following:

 

Warning: No NTP peer/server configured. Time may be out of sync.
Time source is NTP

 

The clock is synchronized with one of three configured NTP servers (I watched  as the time when from many minutes behind to accurate over the course of about one hour).  'show ntp statistics' output clearly shows that packets are flowing to/from the configured servers.

 

I'm puzzled as to why the 'show clock' output states that I have no server configured when I do, in fact, have three servers configured:

 

C7700# show run ntp | inc server
ntp server 192.168.197.10
ntp server 192.168.198.20
ntp server 192.168.199.30

2 Replies 2

Christopher Hart
Cisco Employee
Cisco Employee

Hello!

A few questions on this:

  1. Can you confirm whether this is the admin or default VDC of this switch? Or is this a child VDC? This is important because by default, the clock is managed by the admin/default VDC unless explicitly configured otherwise.
  2. Can you show us the output of show ntp peer-status from this switch?
  3. Can you show us the output of show running-config | include clock from this switch?

Thank you!

-Christopher

Thanks for the help Christopher. Here's the output I think you asked for:

 

Starting on the Admin VDC...

C7700# show run all | inc clock.*vdc
clock protocol ntp vdc 2
C7700# show vdc | inc ^2
2 C7700-RSW1 active 00:3a:9c:58:2f:c2 Ethernet f3
C7700# switchto vdc C7700-RSW1
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2021, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
C7700-RSW1# show ntp peer-status
Total peers : 3
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-------------------------------------------------------------------------------
=172.31.136.42 172.30.40.32 2 64 377 0.01009default
=172.31.126.32 172.30.40.32 2 64 377 0.00105default
*172.31.126.34 172.30.40.32 2 64 377 0.00096default
C7700-RSW1# show run all | inc clock
clock format 24-hours
C7700-RSW1# show clock
Warning: No NTP peer/server configured. Time may be out of sync.
Time source is NTP
08:08:41.100 CST Thu Jan 27 2022

 

Regards,

Steven

 

Review Cisco Networking for a $25 gift card