8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vyattaの設定をコマンド形式でエクスポートする方法

Posted at

#目的
・Vyattaの設定をコマンド形式でエクスポート

#方法
設定ファイルを保存しておいても良いが、一部だけ設定を拝借したい場合に、設定をコマンド形式でエクスポートできる

#設定をsetコマンド形式で出力(入力モードは問わない)
/opt/vyatta/sbin/vyatta-config-gen-sets.pl /config/config.boot

#結果
set firewall all-ping 'enable'
set firewall broadcast-ping 'disable'
set firewall config-trap 'disable'
set firewall ipv6-receive-redirects 'disable'
set firewall ipv6-src-route 'disable'
set firewall ip-src-route 'disable'
set firewall log-martians 'enable'
set ...

#参考
Vyattaの初期設定 — Sugio Laboratory :

8
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?