Hi, here's the patch: https://gerrit.fd.io/r/c/vpp/+/31363
On Wed, Feb 17, 2021 at 11:11 AM Neale Ranns <ne...@graphiant.com> wrote: > Hi Ivan, > > > > Providing config options via the CLI is not a priority, hence I’s not > often done. There’s also no testing for it, so even if it does work once, > it may not continue to do so. > > However, if you wish to contribute such a CLI, then it would be welcome. > > > > Regards, > > Neale > > > > > > *From: *vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Ivan > Shvedunov via lists.fd.io <ivan4th=gmail....@lists.fd.io> > *Date: *Tuesday, 16 February 2021 at 12:02 > *To: *vpp-dev <vpp-dev@lists.fd.io> > *Subject: *[vpp-dev] configuring ip-neighbor via the debug CLI > > Hello, > > > please correct me if I'm wrong, but it looks like while there's "show ip > neighbor-config" command [1] it appears that there's no way to configure ip > neighbor table except for using binary API. While this may be a design > choice, it's at times handy to be able to set limit/age/recycle (especially > age in my case) through the debug cli. I'd suggest we add a new command, > e.g. > > > > set ip neighbor-config [limit NN] [age NN] [recycle NN] > > > > If this works for you, I can make a CR to add this functionality. > > Or please let me know if I missed something and this is supposed to be > done in some other way. > > Thanks! > > > > [1] > https://github.com/FDio/vpp/blob/b2c31b6/src/vnet/ip-neighbor/ip_neighbor.c#L1701-L1726 > > > > -- > > Ivan Shvedunov <ivan...@gmail.com> > ;; My GPG fingerprint is: 2E61 0748 8E12 BB1A 5AB9 F7D0 613E C0F8 0BC5 > 2807 > -- Ivan Shvedunov <ivan...@gmail.com> ;; My GPG fingerprint is: 2E61 0748 8E12 BB1A 5AB9 F7D0 613E C0F8 0BC5 2807
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18773): https://lists.fd.io/g/vpp-dev/message/18773 Mute This Topic: https://lists.fd.io/mt/80675556/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-