EasyManua.ls Logo

ZyXEL Communications ZYWALL USG CLI - Page 157

ZyXEL Communications ZYWALL USG CLI
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 19 Anti-Virus
ZyWALL (ZLD) CLI Reference Guide
157
19.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 configure an inactive black list
entry for files with a .exe extension.
[no] anti-virus black-list activate Turn on the black list to log and delete files with names that
match the black list patterns.
[no] anti-virus black-list file-pattern
av_file_pattern {activate|deactivate}
Adds or removes a black list file pattern. Turns a file pattern
on or off.
anti-virus black-list replace
old_av_file_pattern new_av_file_pattern
{activate|deactivate}
Replaces the specified black list file pattern with a new file
pattern.
Table 81 Commands for Anti-virus White and Black Lists (continued)
COMMAND DESCRIPTION
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 of Contents

Related product manuals