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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Nexus 7000 NTP configuration.

We're running ver 6.0.3 on our Nexus 7000 (n7000-S1-dk9.6.0.3.bin) and I need to set up NTP.

Say our NTP server is

In a standard router (7604)  I set up NTP with the following commands:

   clock timezone PST -8 0

   clock summer-time PDT recurring

   ntp server

   ntp source-interface L0

In our Nexus 7000 we have two VDCs and only the default vrf.

What's the simplest way to point the 7000 to to get the ntp clock?  Do I configure NTP in each VDC, or the main context where the management port is?  Do I need to point to a peer?  Whatever I try, when I do a 'show ntp status' I get this result:

ROC-NX7010B-DS-B# sh ntp status

Distribution : Disabled

Last operational state: No session


Everyone's tags (4)

Nexus 7000 NTP configuration.

hi there,

If you configure NTP in a VRF, ensure that the NTP server and peers can reach each other through the configured VRFs.

read the steps in the following link, i believe it will help:

but note that NTP is a slow protocol, so give it a little time to sync.

plz Rate if it helped.


Hope it Helps, Soroush.
New Member

Nexus 7000 NTP configuration.

Did this answer your question, jkeefe?

I have a similar configuration. I am trying to get my default VDC to get NTP info from an external NTP server. I can ping the server and I know the NTP server is not using any type of authentication. I get the same output you mentioned from 'sh ntp status'

My configuration looks like the following:

ntp server prefer use-vrf management

ntp server use-vrf management

ntp source-interface  mgmt0

vrf context management

  ip route

vlan 1




interface mgmt0

  ip address

My main question to Cisco is do I need to enable 'feature ntp' on the default VDC in order for NTP to work correctly?

Nexus 7000 NTP configuration.

Hello Brian,

it depends of which NX-OS version you are using.

NTP Virtualization Support

If you are running a Cisco NX-OS Release prior to 5.2, up to one instance of NTP is supported on the entire platform.

You must configure NTP in the default virtual device context (VDC), and you are automatically placed in the default VDC unless you specify otherwise.

If you are running Cisco NX-OS Release 5.2 or later, multiple instances of NTP are supported, one instance per VDC.

By default, Cisco NX-OS places you in the default VDC unless you specifically configure another VDC.

Only one VDC (the default VDC by default) synchronizes the system clock at any given time.

The NTP daemon in all other VDCs acts only as an NTP server for the other devices.

To change which VDC synchronizes the system clock, use the clock protocol ntp vdc vdc-id command.NTP recognizes virtual routing and forwarding (VRF) instances.

NTP uses the default VRF if you do not configure a specific VRF for the NTP server and NTP peer.

See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 5.x for more information about VRFs.

I hope it's what you're looking for


Best Regards.