Generally speaking the config is not sorted alphabetically. Perhaps some small subsections are, but I don't know of any off the top of my head. However it is the case that config is not output in the same order it is input. Output is dictated by the order in which the config render functions output config lines, and there are many such functions.There are no facilities for enforcing any specific ordering scheme, partially because the current scheme should always work and not result in the behavior you described. If you're seeing a situation like you described with dependent configuration getting lost, please open an issue on GitHub so we can fix that. That is a bug independent of the ordering of frr.conf. There are also misconfigs you could have made to cause the same behavior, so please be thorough in the bug report. On Sun, Jun 28, 2020, 7:36 AM bmrajesh . <bmrajesh@gmail.com> wrote:
Hi,
I have noticed that FRR VTYSH sorts the config commands in alphabetical order. For example: interface gig0/1 ip address <address>/<mask> mtu 9000
Is there a way to change this order, like if i want "mtu 9000" to come before "ip address..." ? One issue is if config A is dependent on config B, and if config A is saved (in frr.conf) before config B, then on restarting a process config A fails and is lost.
Thanks & Regards, Rajesh
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog