Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

CLI command modes

The modes and how to switch between them.

Vyatta NOS CLI has two command modes:

Operational mode
Operational mode provides access to operational commands for showing and clearing information and enabling or disabling debugging as well as commands for configuring terminal settings, loading and saving a configuration, and restarting the system.
Configuration mode
Configuration mode provides access to commands for creating, modifying, deleting, committing and showing configuration information as well as commands for navigating through the configuration hierarchy.

When you log in to the system, the system is in operational mode.

  • To leave operational mode and enter configuration mode, use the configure command.
  • To leave configuration mode and enter operational mode, use the exit command. If there are uncommitted configuration changes, you must either commit the changes by using the commit command or discard the changes by using the exit discard command before you can exit to operational mode.

To log out of the system from operational mode, use the exit command.

Enter configuration mode

In configuration mode you can set, delete, and show information. Enter configuration mode by using the configure command at the command prompt in operational mode.

vyatta@vyatta:~$ configure

Notice that the command prompt changes to remind you of the mode.

Exit configuration mode

Exiting configuration mode returns you to operational mode.