Hi Chinmaya.

Follow Dave's input.

I'm obsessive over typo's/transcription errors, so I've done it like this
in the past:

Edit your startup.conf to include:
unix {
  nodaemon
  *log /etc/vpp/startup-conf*
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
}

start vpp and configure your systemas you like.
stop vpp (systemctl stop vpp)
edit /etc/vpp/startup-conf to remove the timestamps and place each command
on a new line.

then edit startup.conf to replace the 'log' keyword with 'startup-config'
to look like:

unix {
  nodaemon
  *startup-config /etc/vpp/startup-conf*
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
}

and restart vpp (systemctl restart vpp)


On Fri, Feb 28, 2020 at 11:35 AM Dave Barach via Lists.Fd.Io <dbarach=
cisco....@lists.fd.io> wrote:

> Please do exactly what I suggested. Here’s why: restarting vpp via “vppctl
> restart” re-executes vpp with *precisely* the same command line arguments
> passed to it e.g. via systemctl.
>
>
>
> Until you start vpp with the command line argument change I told you
> about, there’s no chance you’ll get the effect you’re looking for. None.
> Zero. Zip. Nada.
>
>
>
> *From:* vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> *On Behalf Of *Chinmaya
> Aggarwal
> *Sent:* Friday, February 28, 2020 11:23 AM
> *To:* vpp-dev@lists.fd.io
> *Subject:* Re: [vpp-dev] VPP configuration getting erased on VPP restart
>
>
>
> I did restart vpp using "vppctl restart" but I couldn't find the
> configuration. When i reboot the machine then only i could see my
> configuration. I am running VPP version 19.08. What could be the reason for
> this?
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15621): https://lists.fd.io/g/vpp-dev/message/15621
Mute This Topic: https://lists.fd.io/mt/71609857/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to