Fortinet white logo
Fortinet white logo

CLI Reference

av-ips

av-ips

Use the following commands to configure antivirus settings.

av-ips advanced-log

Use this command to enable logging of FortiGuard Antivirus and IPS update packages received by the FortiAnalyzer unit’s built-in FDS from the FortiGuard Distribution Network (FDN).

Syntax

config fmupdate av-ips advanced-log

set log-fortigate {enable | disable}

set log-server {enable | disable}

end

Variables

Description

log-fortigate {enable | disable}

Enable/disable logging of FortiGuard antivirus and IPS service updates of FortiGate devices (default = disable).

log-server {enable | disable}

Enable/disable logging of update packages received by the built-in FDS server (default = enable).

Example

Enable logging of FortiGuard Antivirus updates to FortiClient installations and update packages downloaded by the built-in FDS from the FDN.

config fmupdate av-ips advanced-log

set log-forticlient enable

set log-server enable

end

av-ips web-proxy

Use this command to configure a web proxy if FortiGuard Antivirus and IPS updates must be retrieved through a web proxy.

Syntax

config fmupdate av-ips web-proxy

set address <string>

set mode {proxy | tunnel}

set password <password>

set port <integer>

set status {enable | disable}

set username <string>

end

Variables

Description

address <string>

Enter the web proxy address.

mode {proxy | tunnel}

Enter the web proxy mode (default = tunnel).

password <password>

If the web proxy requires authentication, enter the password for the user name (character limit = 63).

port <integer>

Enter the port number of the web proxy (1 - 65535, default = 80).

status {enable | disable}

Enable/disable connections through the web proxy (default = disable).

username <string>

If the web proxy requires authentication, enter the user name (character limit = 63).

Example

You could enable a connection through a non-transparent web proxy on an alternate port.

config fmupdate av-ips web-proxy

set status enable

set mode proxy

set address 10.10.30.1

set port 8890

set username avipsupdater

set password cvhk3rf3u9jvsYU

end

av-ips

av-ips

Use the following commands to configure antivirus settings.

av-ips advanced-log

Use this command to enable logging of FortiGuard Antivirus and IPS update packages received by the FortiAnalyzer unit’s built-in FDS from the FortiGuard Distribution Network (FDN).

Syntax

config fmupdate av-ips advanced-log

set log-fortigate {enable | disable}

set log-server {enable | disable}

end

Variables

Description

log-fortigate {enable | disable}

Enable/disable logging of FortiGuard antivirus and IPS service updates of FortiGate devices (default = disable).

log-server {enable | disable}

Enable/disable logging of update packages received by the built-in FDS server (default = enable).

Example

Enable logging of FortiGuard Antivirus updates to FortiClient installations and update packages downloaded by the built-in FDS from the FDN.

config fmupdate av-ips advanced-log

set log-forticlient enable

set log-server enable

end

av-ips web-proxy

Use this command to configure a web proxy if FortiGuard Antivirus and IPS updates must be retrieved through a web proxy.

Syntax

config fmupdate av-ips web-proxy

set address <string>

set mode {proxy | tunnel}

set password <password>

set port <integer>

set status {enable | disable}

set username <string>

end

Variables

Description

address <string>

Enter the web proxy address.

mode {proxy | tunnel}

Enter the web proxy mode (default = tunnel).

password <password>

If the web proxy requires authentication, enter the password for the user name (character limit = 63).

port <integer>

Enter the port number of the web proxy (1 - 65535, default = 80).

status {enable | disable}

Enable/disable connections through the web proxy (default = disable).

username <string>

If the web proxy requires authentication, enter the user name (character limit = 63).

Example

You could enable a connection through a non-transparent web proxy on an alternate port.

config fmupdate av-ips web-proxy

set status enable

set mode proxy

set address 10.10.30.1

set port 8890

set username avipsupdater

set password cvhk3rf3u9jvsYU

end