Skip to content

Vyatta

This doc will be focused on VyOS / EdgeOS.

Basic Usage

Default is operational mode, allowing you to run show commands:

% show arp
% show dhcp leases

Use configure to enter configuration mode:

% configure
% show # show conf
% run # run in operational mode

The configuration is like a tree:

interfaces {
    ethernet eth0 {
        address 169.254.0.1/24
    }
}

protocols {
    static {
        ...
    }
}
...

In configuration mode:

% top # Go back to top
% edit interfaces # Go to sub menu
% show # Show configuration from the current level
% set x y z val # Set x.y.z to val
% delete x y z # Unset x.y.z
% rename x y z to x y n # Move x.y.z to x.y.n
% commit # Apply current configuration, but do not persist
% commit-confirm minutes # Apply current configuration, and reboot if no
`confirm` within X minutes
% save # Save the current applied configuration, so it applies during next boot
% exit

Last update: November 5, 2023
Created: November 5, 2023