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: [email protected] <[email protected]> on behalf of Ivan Shvedunov via lists.fd.io <[email protected]> Date: Tuesday, 16 February 2021 at 12:02 To: vpp-dev <[email protected]> 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 <[email protected]<mailto:[email protected]>> ;; 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 (#18764): https://lists.fd.io/g/vpp-dev/message/18764 Mute This Topic: https://lists.fd.io/mt/80675556/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
