• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 691
  • Last Modified:

cisco router syntax ntp server

I have vpn cisco router with DCHP pool ccp-pool enabled
I have to add ntp server ip address and I am looking for exact syntax.
  • 2
1 Solution
Thomas GrassiSystems AdministratorCommented:
Config  t

ntp server

wr mem
Are you asking to to set the NTP server for the router?  If so trgrassijr55 answer is correct.

However, if you are trying to set the DHCP client NTP  server via DHCP you might try:

option 42 ip x.x.x.x

In your dhcp server setttings.
leop1212Author Commented:
yes i am trying to add option 42 to my dhcp scope on the router

and looking for exact sytnax.
config t
dchp ccp-pool?????
option 42 ip ?
You can try:

config t
dhcp pool ccp-pool
option 42 ip

Based on: https://supportforums.cisco.com/thread/2146860

HOWEVER, please note that not all DHCP clients may accept option 42.  Example:  I don't think Windows clients accept getting a NTP server via DHCP.  The DHCP client in Windows only accepts a small subset of DHCP parameters that DHCP servers can offer.

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now