-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frr.conf doens't reflect running FRR config #5067
Comments
It is not a bug. It is working as designed. frr.conf contains only base frr configuration. The rest configuration is controlled by bgpcfgd. |
Hi Pavel
Allow me to disagree, if user want change FRR config manually he will probably will not use config_db and j2 to create FRR.conf. but rather configure FRR by vtysh and allow it to save.
As for tech-support, better have startup config from nothing at all.
The behavior has changed as in older Sonic images the FRR.conf did reflect the startup config.
I still see that as a flaw in the system.
Not sure I understand why it was changed there is no benefit by removing the config it is only degradation.
Ezrickd
…Sent from my iPhone
Sorry for his typing errors (-;
On 29 Jul 2020, at 22:45, pavel-shirshov <notifications@github.com> wrote:
It is not a bug. It is working as designed. frr.conf contains only base frr configuration. The rest configuration is controlled by bgpcfgd.
I'd suggest to download frr configuration from frr itself. Anyway putting startup configuration as running configuration doesn't make sense for tech-support. The frr configuration could be changed by human, for example.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2FAzure%2Fsonic-buildimage%2Fissues%2F5067%23issuecomment-665865554&data=02%7C01%7Cezrick%40mellanox.com%7C9468ed18db334505019a08d833f7f7b7%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637316487410907104&sdata=NY52hMkSJToWuFkHth9iFh6zrbnmB76NvDkDkwLlv2Q%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FAMGJOK3G66D2DOXSHG27A7TR6B36BANCNFSM4PLS65SQ&data=02%7C01%7Cezrick%40mellanox.com%7C9468ed18db334505019a08d833f7f7b7%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637316487410907104&sdata=ut6tpYZJA0CYobgpXL8sB800wA0DIvu4RrAXxQqwN0g%3D&reserved=0>.
|
If this is about having "show tech" to include running configuration of frr config, there are multiple ways to implement. We can dump a frr-running.conf in the show tech if that solves the problem. |
Agreed.
Accept any solution that will disclose the FRR running configuration when system snapshot is taken.
Tnx
/Ezrick
Ezrick Dayan
Mellanox, Nvidia Networking Division
Office: +972 74 7128603 | Cellphone: +972 54 4974192 | Email: ezrick@mellanox.com<mailto:ezrick@mellanox.com>
ezrick@nvidia.com
[cid:image001.png@01D66668.8E96D590] [cid:image002.png@01D66668.8E96D590]
From: lguohan <notifications@github.com>
Sent: Thursday, July 30, 2020 10:45 AM
To: Azure/sonic-buildimage <sonic-buildimage@noreply.github.com>
Cc: Ezra Dayan <ezrick@mellanox.com>; Author <author@noreply.github.com>
Subject: Re: [Azure/sonic-buildimage] frr.conf doens't reflect running FRR config (#5067)
If this is about having "show tech" to include running configuration of frr config, there are multiple ways to implement. We can dump a frr-running.conf in the show tech if that solves the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2FAzure%2Fsonic-buildimage%2Fissues%2F5067%23issuecomment-666197103&data=02%7C01%7Cezrick%40mellanox.com%7Cfb2c73c31fcd46d9cde208d8345c6f15%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637316918889611226&sdata=iuZq8PjEZRc%2FLlnL4cjYV8YrM4uK9pDrF31hkjvMQ%2F8%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FAMGJOK53IKLISCYRK6IYJFLR6EQG5ANCNFSM4PLS65SQ&data=02%7C01%7Cezrick%40mellanox.com%7Cfb2c73c31fcd46d9cde208d8345c6f15%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637316918889621224&sdata=Duvv%2BgE%2FQ7lwt%2BDHu4tLj2RlkFSDbzjMujWh9%2BbXyw8%3D&reserved=0>.
|
Hi, /Ezrick |
I can verify that frr.conf is present in 201911 at dump/frr.running_config. |
running 201911 with FRRouting (version 7.2.1-sonic)
when checking vtysh "show run" or sonic "show runningconfig bgp", full FRR configuration is displayed.
when checking /etc/sonic/frr/frr.conf only partial configration is dispalyed, this is also relevant to BGP docker /etc/sonic/frr/frr.conf
the issue is imprtant as Tech-Support has no ability to bring the running config, and when ETC folder is backed up the FRR configuration doesnt reflect the running at time of issue.
frr_config.txt
The text was updated successfully, but these errors were encountered: