cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3692
Views
0
Helpful
8
Replies

Ntp time synchronization Catalyst C1000 - simple question

Mariusz91656
Level 1
Level 1

Hello Community,

How to set up ntp time synchronization with a specific server (time pattern in my LAN) on a Catalyst C1000 switch (web gui or cli) ?  

Regards.

1 Accepted Solution

Accepted Solutions

The command starting with "set" is aimed at CatOS which the Catalyst 1000 is not compatible with. 

To set an NTP peer, use the command "ntp server <IP ADDRESS>".

View solution in original post

8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Here is an example using the CLI.

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4000/8-2glx/configuration/guide/ntp.html

Console> (enable) set ntp server 172.20.52.65

NTP server 172.20.52.65 added.

Console> (enable) set ntp client enable

NTP Client mode enabled

Console> (enable) show ntp

Current time: Tue Jun 23 1998, 20:29:25

Timezone: '', offset from UTC is 0 hours

Summertime: '', disabled

Last NTP update: Tue Jun 23 1998, 20:29:07

Broadcast client mode: disabled

Broadcast delay: 3000 microseconds

Client mode: enabled

NTP-Server

----------------------------------------

172.16.52.65

Console> (enable)

Thanks, but in this model these commands don't work - options:
access-group Control NTP access
allow Allow processing of packets
authenticate Authenticate time sources
authentication-key Authentication key for trusted time sources
broadcastdelay Estimated round-trip delay
clock-period Length of hardware clock tick
leap-handle To handle the leap seconds
logging Enable NTP message logging
master Act as NTP master clock
max-associations Set maximum number of associations
maxdistance Maximum Distance for synchronization
mindistance Minimum distance to consider for clockhop
orphan Threshold Stratum for orphan mode
panic Reject time updates > panic threshold (default 1000Sec)
passive NTP passive mode
peer Configure NTP peer
server Configure NTP server
source Configure interface for source address
trusted-key Key numbers for trusted time sources
update-calendar Periodically update calendar with NTP time

Am I understanding correctly that you attempted this:

set ntp server <ip_of_server>

and it did not work? You indicate that server is an option, so perhaps post the output you get from 

set ntp server ?

HTH

Rick

I have little experience with cisco, but:

Switch#set ?
memory set memory parameters
trace Set trace options

This command does't work (that's work: Switch(config)#ntp server ....). Time settings still shows: Time source: Local - unsynchronized (on web gui). On HP Procurve switches it was easy to set up, on cisco i don't know

I do not have experience with the C1000 switch but it seems to me that the syntax of set ntp server is more like older Catalyst syntax. I would expect it to be more like ntp server <ip>. Am I correct in understanding that this is what you did configure? If so please post the output of show ntp status.

Do you have IP connectivity to the IP address that you configured for the ntp server? (can you ping it from your C1000)?

Is it possible that some device (firewall etc) along the path from your C1000 to the server has a security policy that is preventing ntp from working?

HTH

Rick

Thanks Richard Burts !, command: ntp server ip.... works properly, traffic from my subnet was blocked on the firewall on the master node (ntp protocol). Everything works fine, thanks very much for all your help !

Thanks for the update. Glad to know that it is now working and interesting that it did turn out to be an issue with firewall policy as I had suggested it might be.

HTH

Rick

The command starting with "set" is aimed at CatOS which the Catalyst 1000 is not compatible with. 

To set an NTP peer, use the command "ntp server <IP ADDRESS>".

Review Cisco Networking for a $25 gift card