10-22-2011 06:56 PM
Hi, I have a N7010 running 5.2(1). There are 3 VDCs - Default, Core and OTV VDCs. I am not using CFS to distribute NTP.. I am able to ping the NTP server using the mgmt interface as source address Other Catalsyt switches is able to sync with the NTP server. On the default VDC, i try to configure NTP using the command feature ntp ntp server 1.1.1.1 use-vrf management prefer ntp server 1.1.1.2 use-vrf management ntp source-interface mgmt0 However, i cannot see any ntp peer using "sh ntp peer", "sh ntp status" also shows nothing. I try to configure clock protocol on the default vdc to use NTP, but it doesn't help. Am i missing something ? Rgds Eng Wee
Solved! Go to Solution.
10-30-2011 07:41 AM
You can configure NTP only in one VDC and the same clock source will be used for other VDCs. Looks like your NTP
server is reachable in default vRF. If this is the case make sure you do not have "clock protocol ntp vdc x" in default VDC where x is non-default VDC
10-30-2011 07:41 AM
You can configure NTP only in one VDC and the same clock source will be used for other VDCs. Looks like your NTP
server is reachable in default vRF. If this is the case make sure you do not have "clock protocol ntp vdc x" in default VDC where x is non-default VDC
10-31-2011 12:39 AM
Hi Prkrishn, THanks for the reply. You are correct. Manage to get it working by some trial and error. The N7K configuration guide should have explained this more clearly. Rgds Eng Wee
01-04-2012 08:09 PM
How did you get this to work? I tried completely turning off the ntp feature on the default vdc so I could set it up on our production VDC. It still doesn't show any ntp peer servers or respond to requests.
01-04-2012 09:25 PM
Hi Andrew, configure the below in the default vdc, the "clock protocol ntp vdc x" command is needed only at the default vdc "clock protocol ntp vdc 1" "ntp server x.x.x.x prefer use-vrf management" "ntp server x.x.x.x use-vrf management" "ntp source-interface mgmt0" THis works for me. Hope it helps. Eng Wee
01-05-2012 05:53 AM
I was able to get the NTP server working in the default vdc, but it won't serve NTP to other clients from the second vdc. Did you just use the default vdc or a secondary one?
01-06-2012 03:15 AM
Hi Andrew
"clock protocol ntp vdc x" - simply tells to n7k chassis in which vdc he will run ntp client and will receive ntp data.
Only ONE VDC can do that - by default it's 1st vdc .
Then you need to check whether in your vdc ntp feature is not disabled (you can run "feature ntp").
Then enter ntp server configuration (source interface etc) and don't forget stratum.
After that try to configure any ntp client to sync with your server.
HTH
Alex
01-06-2012 03:05 PM
Alex,
The "clock protocol ntp vdc x" command was exactly what I needed. It is working beautifully from the 2nd vdc now. Thanks again!!!
ANdrew
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