How to reload config.boot in Vyatta

Last updated on September 17, 2012 by Dan Nanni

Vyatta (now called VyOS) an open-source virtual router operating system based on a customized Debian distribution. Vyatta can easily be installed on virtual machines (VMs) created by standard hypervisors such as Xen, KVM and VMware, to implement virtual networking for VMs. Vyatta offers a specialized management console as well as web-based management interface to configure system settings such as network interfaces, firewall rules, QoS policy, etc. If you are reconfiguring Vyatta via its management console, you may want to know how to reload Vyatta configuration after you are done.

Actually, reloading Vyatta configuration is simpler that you think, if you update Vyatta configuration via its CLI (Command Line Interface), instead of modifying /config/boot.config directly. For example:

$ configure
[You are entering the Vyatta's CLI]
 
# change Vyatta configuration as you wish
 
$ commit
$ save
$ exit
[You are exiting the Vyatta's CLI]

If you follow the above sequence, all the changes you made via Vyatta's CLI take effect upon a commit. That means you don't need to reload Vyatta configuration subsequently.

If your changes do not take effect for some reason, you can do the following to reload Vyatta configuration explicitly.

$ /etc/init.d/vyatta-rtrmgr restart

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean