[j-nsp] deleting ntp server from config, perhaps a bug?

Chris Morrow morrowc at ops-netman.net
Thu Sep 27 09:19:52 EDT 2018


On Thu, 27 Sep 2018 07:57:49 -0400,
Olivier Benghozi <olivier.benghozi at wifirst.fr> wrote:
> 
> Works as expected here (16.1R7)...
> 
> > Le 27 sept. 2018 à 13:43, Drew Weaver <drew.weaver at thenap.com> a écrit :
> > 
> > I added 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org to system ntp on an MX80 running JunOS 15.
> > 
> > [edit system ntp]
> > drew at charlie# show
> > server 216.230.228.242;
> > server 45.79.109.111;
> > server 172.98.193.44;
> > server 69.195.159.158;
> > 
> > I need to deactivate/delete a few of these:
> > 
> > [edit system ntp]
> > drew at charlie# delete server 216.230.228.242
> > warning: statement not found
> > 
> > drew at charlie# deactivate server 216.230.228.242
> > warning: statement not found
> > 
> > Is there any way to do this other than simply deleting the entire block and starting over?

there's (of course) the 'you should always deploy a full config' crew, but...
can you try deleting the NTP server in question from the top of the config tree?
  delete system ntp server 216<tab>

that ought to complete and then work (does for me anyway).


More information about the juniper-nsp mailing list