FORTINET-FORTIOS50 cmd
Fortinet FortiGate (FortiOS) チート集
FortiGate / FortiOS の system、VDOM、interface、firewall policy、NAT、SSL VPN、IPsec、routing-table、diagnose sniffer/debug flow を現場向けに整理したチート集。
- 更新日
- 2026-05-14
- 参照範囲
- 公式ドキュメント / man page / 主要ベンダーCLI
- 対象実装
- 主要 Linux / BSD / ネットワーク機器 CLI の一般的な実装
- 免責
- OS とバージョン差分は実環境で確認してください。
50 / 50
| Command | Description | Example | Copy |
|---|---|---|---|
get system status | Fortinet FortiOS で get system status の現在値や状態を確認する | FortiGate-VM # get system status | |
show full-configuration system global | Fortinet FortiOS で show full-configuration system global の状態や設定を確認する | FortiGate-VM # show full-configuration system global | |
config system global | Fortinet FortiOS で config system global の設定または操作を実行する | FortiGate-VM # config system global | |
set hostname | Fortinet FortiOS で set hostname の設定または操作を実行する | FortiGate-VM (global) # set hostname fw-tokyo-1 | |
execute backup config tftp | Fortinet FortiOS で execute backup config tftp の運用操作を実行する | FortiGate-VM # execute backup config tftp backup.conf 10.0.0.10 | |
execute restore config tftp | Fortinet FortiOS で execute restore config tftp の運用操作を実行する | FortiGate-VM # execute restore config tftp backup.conf 10.0.0.10 | |
config vdom | Fortinet FortiOS で config vdom の設定または操作を実行する | FortiGate-VM # config vdom | |
edit root | Fortinet FortiOS で edit root の設定または操作を実行する | FortiGate-VM (vdom) # edit root | |
config system interface | Fortinet FortiOS で config system interface の設定または操作を実行する | FortiGate-VM (root) # config system interface | |
edit port1 | Fortinet FortiOS で edit port1 の設定または操作を実行する | FortiGate-VM (interface) # edit port1 | |
set ip | Fortinet FortiOS で set ip の設定または操作を実行する | FortiGate-VM (port1) # set ip 192.0.2.2/30 | |
set allowaccess | Fortinet FortiOS で set allowaccess の設定または操作を実行する | FortiGate-VM (port1) # set allowaccess ping https ssh | |
set alias | Fortinet FortiOS で set alias の設定または操作を実行する | FortiGate-VM (port1) # set alias ISP-Uplink | |
set role | Fortinet FortiOS で set role の設定または操作を実行する | FortiGate-VM (port1) # set role wan | |
get system interface physical | Fortinet FortiOS で get system interface physical の現在値や状態を確認する | FortiGate-VM # get system interface physical | |
config firewall address | Fortinet FortiOS で config firewall address の設定または操作を実行する | FortiGate-VM # config firewall address | |
edit LAN-NET | Fortinet FortiOS で edit LAN-NET の設定または操作を実行する | FortiGate-VM (address) # edit LAN-NET | |
set subnet | Fortinet FortiOS で set subnet の設定または操作を実行する | FortiGate-VM (LAN-NET) # set subnet 10.0.0.0 255.255.255.0 | |
config firewall service custom | Fortinet FortiOS で config firewall service custom の設定または操作を実行する | FortiGate-VM # config firewall service custom | |
config firewall policy | Fortinet FortiOS で config firewall policy の設定または操作を実行する | FortiGate-VM # config firewall policy | |
edit 10 | Fortinet FortiOS で edit 10 の設定または操作を実行する | FortiGate-VM (policy) # edit 10 | |
set srcintf | Fortinet FortiOS で set srcintf の設定または操作を実行する | FortiGate-VM (10) # set srcintf "lan" | |
set dstintf | Fortinet FortiOS で set dstintf の設定または操作を実行する | FortiGate-VM (10) # set dstintf "wan1" | |
set srcaddr | Fortinet FortiOS で set srcaddr の設定または操作を実行する | FortiGate-VM (10) # set srcaddr "LAN-NET" | |
set dstaddr | Fortinet FortiOS で set dstaddr の設定または操作を実行する | FortiGate-VM (10) # set dstaddr "all" | |
set service | Fortinet FortiOS で set service の設定または操作を実行する | FortiGate-VM (10) # set service "HTTPS" "DNS" | |
set action accept | Fortinet FortiOS で set action accept の設定または操作を実行する | FortiGate-VM (10) # set action accept | |
set schedule always | Fortinet FortiOS で set schedule always の設定または操作を実行する | FortiGate-VM (10) # set schedule "always" | |
set nat enable | Fortinet FortiOS で set nat enable の設定または操作を実行する | FortiGate-VM (10) # set nat enable | |
config firewall ippool | Fortinet FortiOS で config firewall ippool の設定または操作を実行する | FortiGate-VM # config firewall ippool | |
set startip | Fortinet FortiOS で set startip の設定または操作を実行する | FortiGate-VM (pool1) # set startip 203.0.113.20 | |
set endip | Fortinet FortiOS で set endip の設定または操作を実行する | FortiGate-VM (pool1) # set endip 203.0.113.30 | |
config vpn ssl settings | Fortinet FortiOS で config vpn ssl settings の設定または操作を実行する | FortiGate-VM # config vpn ssl settings | |
set servercert | Fortinet FortiOS で set servercert の設定または操作を実行する | FortiGate-VM (settings) # set servercert "Fortinet_Factory" | |
config vpn ipsec phase1-interface | Fortinet FortiOS で config vpn ipsec phase1-interface の設定または操作を実行する | FortiGate-VM # config vpn ipsec phase1-interface | |
set remote-gw | Fortinet FortiOS で set remote-gw の設定または操作を実行する | FortiGate-VM (to-branch) # set remote-gw 198.51.100.1 | |
set psksecret | Fortinet FortiOS で set psksecret の設定または操作を実行する | FortiGate-VM (to-branch) # set psksecret S3cretKey | |
config vpn ipsec phase2-interface | Fortinet FortiOS で config vpn ipsec phase2-interface の設定または操作を実行する | FortiGate-VM # config vpn ipsec phase2-interface | |
get router info routing-table all | Fortinet FortiOS で get router info routing-table all の現在値や状態を確認する | FortiGate-VM # get router info routing-table all | |
config router static | Fortinet FortiOS で config router static の設定または操作を実行する | FortiGate-VM # config router static | |
set gateway | Fortinet FortiOS で set gateway の設定または操作を実行する | FortiGate-VM (1) # set gateway 192.0.2.1 | |
set device | Fortinet FortiOS で set device の設定または操作を実行する | FortiGate-VM (1) # set device "wan1" | |
get router info bgp summary | Fortinet FortiOS で get router info bgp summary の現在値や状態を確認する | FortiGate-VM # get router info bgp summary | |
execute ping | Fortinet FortiOS で execute ping の運用操作を実行する | FortiGate-VM # execute ping 8.8.8.8 | |
execute traceroute | Fortinet FortiOS で execute traceroute の運用操作を実行する | FortiGate-VM # execute traceroute 8.8.8.8 | |
diagnose sniffer packet | Fortinet FortiOS で diagnose sniffer packet の診断情報を取得する | FortiGate-VM # diagnose sniffer packet any "host 192.0.2.10" 4 | |
diagnose debug flow filter addr | Fortinet FortiOS で diagnose debug flow filter addr の診断情報を取得する | FortiGate-VM # diagnose debug flow filter addr 192.0.2.10 | |
diagnose debug flow trace start | Fortinet FortiOS で diagnose debug flow trace start の診断情報を取得する | FortiGate-VM # diagnose debug flow trace start 50 | |
diagnose debug enable | Fortinet FortiOS で diagnose debug enable の診断情報を取得する | FortiGate-VM # diagnose debug enable | |
diagnose debug disable | Fortinet FortiOS で diagnose debug disable の診断情報を取得する | FortiGate-VM # diagnose debug disable |