Chapter 15 Security Profiles : AntiVirus : Example Scenerios : Configuring simple default antivirus profile : Creating the profile - CLI
  
Creating the profile - CLI
1. Enter the CLI by one of the following methods:
SSH through a terminal emulator
CLI Console widget
FortiExplorer’s CLI mode
2. Enter the following commands:
config antivirus profile
edit default
set comment "scan and delete virus"
set inspection-mode flow-based
set scan-botnet-connections block
set ftgd-analytics suspicious
config http
set options scan
end
config ftp
set options scan
end
config imap
set options scan
end
config pop3
set options scan
end
config smtp
set options scan
end
config nntp
set options scan
end
config smb
set options scan
end
end
3. Enable grayware scanning
config antivirus settings
set grayware enable
end