title: VyOS breadcrumbs:
See Installation (VyOS).
vyos
and password vyos
.install image
to run the permanent installation wizard.
config.boot.default
config file.An example of a full configuration. Except intuitive stuff I forgot to mention.
vyos
and password as set in the installation (or vyos
if using the live media).
set console keymap
configure
$
to #
.<host-name>.<domain-name>
should be an FQDN.set system host-name <hostname>
set system domain-name <domain-name>
set system name-server <ip-address>
(for each server)set system time-zone Europe/Oslo
(Norway)system ntp
.set server ntp.justervesenet.no
(example)set system options ctrl-alt-del-action reboot
(or ignore
)set system login user <username> authentication plaintext-password <password>
delete system login user vyos
set protocols static route[6] <0.0.0.0/0|::/0> next-hop <next-hop>
(for IPv4 and IPv6)set protocols static route[6] <prefix> blackhole
(for IPv4 and IPv6)set service lldp interface all
set service ssh
commit
and save
.$
) after logging in. Enter "configuration mode" (#
) using the configure
command.?
to show alternatives and tab to auto-complete.run
to run operational mode commands in configuration mode.show log [tail]
show interfaces
show ip routes
and show ipv6 routes
show
commit
commit-confirm [comment <comment>] [minutes]
, then confirm
within X minutes when you've verified that the changes are working as intended.save
Reboot the device and wait for the boot screen. In the boot screen, select the "lost password change (KVM)" option. It will boot to into a prompt asking you to set a new password. After setting a new password, the device will automatically reboot.
{% include footer.md %}