sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.22k stars 1.12k forks source link

[configuration] Are there ways to restore configuration which is issued via vtysh #250

Open Quanta-Switch opened 6 years ago

Quanta-Switch commented 6 years ago

If it is possible to restore the configurations which are configured in vtysh? I tried (at vtysh)

copy running-config startup-config
Note: this version of vtysh never writes vtysh.conf
Building Configuration...
Integrated configuration saved to /etc/frr/frr.conf
[OK]

And the /etc/frr/frr.conf in bgp docker will be removed when docker starts.

I don't know such approach (via vtysh) is practical or not. Do I need make all (routing) configuration in /etc/sonic/config_db.json?

kirankella commented 5 years ago

Is this issue addressed yet? The moment the bgp/frr docker is started, the frr.conf is reset to the values populated from config_db.json. Any BGP configuration changes saved to frr.conf are lost.

Quanta-Switch commented 5 years ago

I have no update for this issue.

liuhandut commented 2 years ago

just wonder if this issue resolved or it was expected as designed?

louishot commented 1 year ago

I configured isis via vtysh have the same problem. And I didn't find how to configure isis while using config_db

wegarc commented 1 month ago

Hi any news for this problem?

wegarc commented 2 weeks ago

Hi, the problem is solve... Thanks