How to reload config.boot in Vyatta

Vyatta 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

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.


Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

The following two tabs change content below.
Dan Nanni is the founder and also a regular contributor of Xmodulo.com. He is a Linux/FOSS enthusiast who loves to get his hands dirty with his Linux box. He likes to procrastinate when he is supposed to be busy and productive. When he is otherwise free, he likes to watch movies and shop for the coolest gadgets.

Leave a comment

Your email address will not be published. Required fields are marked *