<link rel="canonical" href="https://www.start-beyblade.com/<$ArticleId$>" />

<meta name="robots" content="noindex,noarchive,follow">

try,try,try

基本的に備忘録です

vyosのコマンドについて延々と書いていくメモ

初期設定

  • デフォルトのuser/pass
vyos/vyos
  • インストール
$ install image
  • 設定モードへの移行
$ configure
  • 設定モードから操作モードへ戻る場合
# exit
# set interfaces ethernet eth0 address 192.168.0.203/24
# delete interfaces ethernet eth1 address
# set system gateway-address 192.168.0.254
  • 外部からのssh接続を有効化
# set service ssh

※接続元IPアドレスを制限する場合
# set service ssh listen-address 192.168.0.11
  • 設定の反映
# commit
  • 設定の保存
# save
  • 設定の確認
■操作モードの場合
$ show configuration

■操作モードの場合(コマンド形式)
$ show configuration commands

■設定モードの場合
# run show configuration
  • シャットダウン
$ power off