Open source router and firewall platform

Fork of Vyatta since 2013

100Gbps routing capable


Commands

Similar to Juniper JUNOS


set terminal length 0


DHCP

Based on ISC DHCP


Shells

vBash

vyos@vyos:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
vyos:x:1002:100::/home/vyos:/bin/vbash
...

How to use Bash

vyos@vyos:~$ echo $SHELL
/bin/vbash

vyos@vyos:~$ sudo su -- root
root@vyos:/home/vyos# echo $SHELL
/bin/bash

Processes

vyos@vyos:~$ sudo su - root

root@vyos:~# lsb_release -a
No LSB modules are available.
Distributor ID:	VyOS
Description:	VyOS 1.5-rolling-202406260020 (current)
Release:	1.5-rolling-202406260020
Codename:	bookworm

root@vyos:~# ps auxf | cat
...
root           1  0.0  0.0 169236 13660 ?        Ss   Jul21   0:25 /sbin/init noautologin
root        1002  0.0  0.1 114576 75904 ?        Ss   Jul21   0:16 /lib/systemd/systemd-journald
root        1018  0.0  0.1 314428 75472 ?        Ssl  Jul21   0:07 /usr/bin/python3 -u /usr/libexec/vyos/services/vyos-configd
root        1019  0.0  0.0 132044 38268 ?        Ssl  Jul21   0:01 /usr/bin/python3 -u /usr/libexec/vyos/services/vyos-hostsd
root        1028  0.0  0.0  26288  7556 ?        Ss   Jul21   0:08 /lib/systemd/systemd-udevd
root        1084  0.0  0.0   8260  6976 ?        Ss   Jul21   0:03 /usr/sbin/haveged --Foreground --verbose=1
root        1192  0.0  0.0  13120  2312 ?        S<sl Jul21   0:00 /sbin/auditd
root        1213  0.0  0.0   2500  1536 ?        Ss   Jul21   0:00 /usr/sbin/acpid
root        1217  0.0  0.0   6608  2432 ?        Ss   Jul21   0:00 /usr/sbin/cron -f
message+    1218  0.0  0.0   8184  4096 ?        Ss   Jul21   0:04 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root        1228  0.0  0.0  25044  7808 ?        Ss   Jul21   0:01 /lib/systemd/systemd-logind
daemon      1230  0.0  0.0   3580  2048 ?        Ss   Jul21   0:00 /usr/sbin/atd -f
root        1238  0.0  0.0   2472  1024 ?        S<   Jul21   0:02 /usr/sbin/atopacctd
root        1311  0.0  0.0   2480   896 ?        Ss   Jul21   0:00 /sbin/netplugd -p /var/run/netplugd.pid
freerad     1323  0.0  0.1 134024 90484 ?        Ssl  Jul21   0:01 /usr/sbin/freeradius -f
root        1712  0.0  0.0   8848  3708 ?        S<s  Jul21   5:05 /usr/lib/frr/watchfrr -d -F traditional zebra mgmtd bgpd ripd ripngd ospfd ospf6d isisd babeld pim6d ldpd staticd bfdd
frr         1731  0.0  0.0 1346880 19992 ?       S<sl Jul21   0:50 /usr/lib/frr/zebra -d -F traditional --daemon -A 127.0.0.1 -s 90000000
frr         1736  0.0  0.0  10476  6508 ?        S<s  Jul21   0:06 /usr/lib/frr/mgmtd -d -F traditional --daemon -A 127.0.0.1
frr         1738  0.0  0.0 248224 13140 ?        S<sl Jul21   0:40 /usr/lib/frr/bgpd -d -F traditional --daemon -A 127.0.0.1 -M rpki
frr         1745  0.0  0.0  10816  5756 ?        S<s  Jul21   0:06 /usr/lib/frr/ripd -d -F traditional --daemon -A 127.0.0.1
frr         1748  0.0  0.0  10420  5568 ?        S<s  Jul21   0:06 /usr/lib/frr/ripngd -d -F traditional --daemon -A ::1
frr         1751  0.0  0.0  12860  6932 ?        S<s  Jul21   0:06 /usr/lib/frr/ospfd -d -F traditional --daemon -A 127.0.0.1
frr         1754  0.0  0.0  11804  6308 ?        S<s  Jul21   0:06 /usr/lib/frr/ospf6d -d -F traditional --daemon -A ::1
frr         1757  0.0  0.0  12800  6912 ?        S<s  Jul21   0:06 /usr/lib/frr/isisd -d -F traditional --daemon -A 127.0.0.1
frr         1760  0.0  0.0  10028  5076 ?        S<s  Jul21   0:06 /usr/lib/frr/babeld -d -F traditional --daemon -A 127.0.0.1
frr         1763  0.0  0.0  11632  6160 ?        S<s  Jul21   0:07 /usr/lib/frr/pim6d -d -F traditional --daemon -A ::1
frr         1769  0.0  0.0  10280  7296 ?        S<   Jul21   0:00 /usr/lib/frr/ldpd -L -u frr -g frr
frr         1770  0.0  0.0  10280  7552 ?        S<   Jul21   0:00 /usr/lib/frr/ldpd -E -u frr -g frr
frr         1773  0.0  0.0  10932  5256 ?        S<s  Jul21   0:06 /usr/lib/frr/ldpd -d -F traditional --daemon -A 127.0.0.1
frr         1777  0.0  0.0  10296  5936 ?        S<s  Jul21   0:06 /usr/lib/frr/staticd -d -F traditional --daemon -A 127.0.0.1
frr         1781  0.0  0.0  10104  5068 ?        S<s  Jul21   0:06 /usr/lib/frr/bfdd -d -F traditional --daemon -A 127.0.0.1
root        3576  0.0  0.0 291432  6272 ?        Ssl  Jul21   0:02 /usr/sbin/rsyslogd -n -iNONE
_chrony     3833  0.0  0.0  18888  3240 ?        S    Jul21   0:00 /usr/sbin/chronyd -F 1 -f /run/chrony/chrony.conf
_chrony     3834  0.0  0.0  10560  2380 ?        S    Jul21   0:00  \_ /usr/sbin/chronyd -F 1 -f /run/chrony/chrony.conf
root        4009  0.0  0.0  15524  9472 ?        Ss   Jul21   0:00 sshd: /usr/sbin/sshd -f /run/sshd/sshd_config [listener] 0 of 10-100 startups
root      154422  0.0  0.0  17560 10624 ?        Ss   22:18   0:00  \_ sshd: vyos [priv]
vyos      154501  0.0  0.0  17816  6612 ?        S    22:18   0:00      \_ sshd: vyos@pts/0
vyos      154502  0.0  0.0   8080  4480 pts/0    Ss   22:18   0:00          \_ -vbash
root      155177  0.1  0.0  10124  4608 pts/0    S+   23:18   0:00              \_ sudo su - root
root      155179  0.0  0.0   8724  3968 pts/2    S    23:18   0:00                      \_ su - root
root      155180  0.4  0.0   8864  5248 pts/2    S    23:18   0:00                          \_ -bash
root        4157  0.0  0.0   5496  2304 ttyS0    Ss+  Jul21   0:00 /sbin/agetty -o -p -- \u --keep-baud 115200 ttyS0 vt220
root        4159  0.0  0.0   5872  1792 tty1     Ss+  Jul21   0:00 /sbin/agetty -o -p -- \u --noclear - linux
_kea       33885  0.0  0.0 1248568 25864 ?       Ssl  Jul22   0:21 /usr/sbin/kea-dhcp4 -c /run/kea/kea-dhcp4.conf
Debian-+   40986  0.1  0.0  26052 15508 ?        Ss   Jul23   7:01 /usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -f -p /run/snmpd.pid
pdns       53826  0.0  0.0 225140 55372 ?        Ssl  Jul23   3:00 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no --config-dir=/run/pdns-recursor
polkitd    62222  0.0  0.0 311368  8320 ?        Ssl  Jul23   0:00 /usr/lib/polkit-1/polkitd --no-debug
node_ex+   62850  0.5  0.0 1241952 25248 ?       Ssl  Jul23  17:13 /usr/local/bin/node_exporter --web.listen-address=10.80.0.1:9100 --web.listen-address=10.80.16.1:9100
nobody     76280  0.1  0.0  78688  7808 ?        Ssl  Jul24   3:13 /usr/sbin/hsflowd -m 6e6ee9319e9e4e95af196a650ab4221b -d -f /run/sflow/hsflowd.conf
vyos       77512  0.0  0.0  18852 10752 ?        Ss   Jul24   0:00 /lib/systemd/systemd --user
vyos       77513  0.0  0.0 170016  6476 ?        S    Jul24   0:00  \_ (sd-pam)
root      131233  0.0  0.0  13524 12300 ?        S<Ls 00:00   0:06 /usr/bin/atop -w /var/log/atop/atop.log 600
root      147703  0.0  0.0   2688  1668 ?        Ss   17:53   0:00 /usr/sbin/radvd --logmethod stderr_clean --config /run/radvd/radvd.conf --pidfile /run/radvd/radvd.pid
root      147704  0.0  0.0   2688  1288 ?        S    17:53   0:00  \_ /usr/sbin/radvd --logmethod stderr_clean --config /run/radvd/radvd.conf --pidfile /run/radvd/radvd.pid
vyos      150454  0.0  0.0 224644  3488 ?        Ssl  18:13   0:00 unionfs-fuse -o cow -o allow_other /opt/vyatta/config/tmp/changes_only_149643=RW:/opt/vyatta/config/active=RO /opt/vyatta/config/tmp/new_config_149643
  • 레이블 없음