Fortinet FortiGate 4000 Betriebsanweisung

Seite von 390
Antivirus 
CLI configuration
FortiGate-4000 Administration Guide
01-28006-0012-20041105
 317
This example shows how to display the antivirus HTTP traffic settings.
get antivirus service http
This example shows how to display the configuration for antivirus HTTP traffic.
show antivirus service http
service ftp
Use this command to configure how the FortiGate unit handles antivirus scanning of 
large files, how the FortiGate unit handles the buffering and uploading of files to an 
FTP server, and what ports the FortiGate unit virus scans for FTP traffic.
Command syntax pattern
config antivirus service ftp
set <keyword> <variable>
end
config antivirus service ftp
unset <keyword>
end
get antivirus service [ftp]
show antivirus service [ftp]
Example
This example shows how to add antivirus scanning for FTP traffic on ports 22 and 23. 
Adding more ports for scanning does not erase the default, port 21. Use the unset 
command to remove all ports from the list.
config antivirus service ftp
set port 22
set port 23
end
This example shows how to display the antivirus FTP traffic settings.
get antivirus service ftp
This example shows how to display the configuration for antivirus FTP traffic.
show antivirus service ftp
Note: This command has more keywords than are listed in this Guide. See the FortiGate CLI 
Reference Guide
 for a complete list of commands and keywords.
Table 28:  antivirus service ftp command keywords and variables
Keywords and variables
Description
Default
Availability
port <port_integer>
Configure antivirus scanning on a 
nonstandard port number or 
multiple port numbers for FTP. 
You can use ports from the range 
1-65535. You can add up to 20 
ports. 
21
All models.