Fortinet white logo
Fortinet white logo

execute

execute

Execute system commands.

Usage

execute {
    reboot |
    shutdown |
    ping <host> |
    traceroute <host> |
    sniffer-packet <port> <filter> <count> <timestamp_format> <verbose> |
    vm-license <token> |
    backup -u <username> {ftp | sftp | scp} <host> <port> <directory> |
    list-container |
    detail-container |
    usage-container |
    list-service |
    detail-service |
    detail-node |
    usage-node |
    log-sys1 |
    log-sys2 |
    log-debug |
    repair-disk
}

Commands

Command

Description

reboot

Reboot system.

shutdown

Shutdown system.

ping

Ping remote hosts. host may be an IP address or fully qualified domain name.

traceroute

Trace the route to a host. host may be an IP address or fully qualified domain name.

sniffer-packet

Capture network packets.

vm-license

Install a Flex-VM license. token is the generated Flex-VM license token.

backup

Backup system configuration and transfer using the provided username across the given protocol to the destination host, port, and directory. You are prompted for the password.

list-container

List internal Kubernetes pod containers with basic info for all namespaces.

detail-container

Get internal Kubernetes pod containers with detailed info for all namespaces.

usage-container

Get internal Kubernetes pod containers CPU and memory usage for all namespaces.

list-service

List internal Kubernetes pod network services for all namespaces.

detail-service

Get internal Kubernetes pod network service details for all namespaces.

detail-node

Get internal Kubernetes pod node details for all namespaces.

usage-node

Get internal Kubernetes pod node current CPU and memory usage.

log-sys1

Display the infrastructure log.

log-sys2

Display the watch log.

log-debug

Display the debug log.

repair-disk

Fix disk errors caused by unexpected power outage.

execute

execute

Execute system commands.

Usage

execute {
    reboot |
    shutdown |
    ping <host> |
    traceroute <host> |
    sniffer-packet <port> <filter> <count> <timestamp_format> <verbose> |
    vm-license <token> |
    backup -u <username> {ftp | sftp | scp} <host> <port> <directory> |
    list-container |
    detail-container |
    usage-container |
    list-service |
    detail-service |
    detail-node |
    usage-node |
    log-sys1 |
    log-sys2 |
    log-debug |
    repair-disk
}

Commands

Command

Description

reboot

Reboot system.

shutdown

Shutdown system.

ping

Ping remote hosts. host may be an IP address or fully qualified domain name.

traceroute

Trace the route to a host. host may be an IP address or fully qualified domain name.

sniffer-packet

Capture network packets.

vm-license

Install a Flex-VM license. token is the generated Flex-VM license token.

backup

Backup system configuration and transfer using the provided username across the given protocol to the destination host, port, and directory. You are prompted for the password.

list-container

List internal Kubernetes pod containers with basic info for all namespaces.

detail-container

Get internal Kubernetes pod containers with detailed info for all namespaces.

usage-container

Get internal Kubernetes pod containers CPU and memory usage for all namespaces.

list-service

List internal Kubernetes pod network services for all namespaces.

detail-service

Get internal Kubernetes pod network service details for all namespaces.

detail-node

Get internal Kubernetes pod node details for all namespaces.

usage-node

Get internal Kubernetes pod node current CPU and memory usage.

log-sys1

Display the infrastructure log.

log-sys2

Display the watch log.

log-debug

Display the debug log.

repair-disk

Fix disk errors caused by unexpected power outage.