Chapter 38 Anti-Virus
ZyWALL Series CLI Reference Guide
322
38.2.3.1 White and Black Lists Example
This example shows how to enable the white list and configure an active white list entry for files with a
.exe extension. It also enables the black list and configures an inactive black list entry for files with a .exe
extension.
38.2.4 Signature Search Anti-Virus Command
The following table describes the command for searching for signatures. You must use the configure
terminal
command to enter the configuration mode before you can use this command.
38.2.4.1 Signature Search Example
This example shows how to search for anti-virus signatures with MSN in the name.
Router(config)# anti-virus white-list activate
Router(config)# anti-virus white-list file-pattern
Router(config)# anti-virus white-list file-pattern *.exe activate
Router(config)# anti-virus black-list activate
Router(config)# anti-virus black-list file-pattern *.exe deactivate
Router(config)# show anti-virus white-list status
anti-virus white-list status: yes
Router(config)# show anti-virus white-list
No. Status
File-Pattern
===========================================================================
1 yes
*.exe
Router(config)# show anti-virus black-list status
anti-virus black-list status: yes
Router(config)# show anti-virus black-list
No. Status
File-Pattern
===========================================================================
1 no
*.exe
Table 171 Command for Anti-Virus Signature Search
COMMAND DESCRIPTION
show anti-virus search signature
{all | name virus_name} [{from id
to id}]
Searches for signatures by name.Type the ID or part of the ID that you want to
find.
Router(config)# anti-virus search signature name MSN
signature: 1
virus name: MSN