Chapter 38 Anti-Virus
ZyWALL Series CLI Reference Guide
324
38.4 Anti-Virus Statistics
The following table describes the commands for collecting and displaying anti-virus statistics. You must
use the
configure terminal command to enter the configuration mode before you can use these
commands.
38.4.1 Anti-Virus Statistics Example
This example shows how to collect and display anti-virus statistics. It also shows how to sort the display by
the most common destination IP addresses.
Table 173 Commands for Anti-Virus Statistics
COMMAND DESCRIPTION
[no] anti-virus statistics
collect
Turns the collection of anti-virus statistics on or off.
anti-virus statistics flush
Clears the collected statistics.
show anti-virus statistics
summary
Displays the collected statistics.
show anti-virus statistics
collect
Displays whether the collection of anti-virus statistics is turned on or off.
show anti-virus statistics
ranking {destination |
destination6 | source | source6
| virus-name}
Queries and sorts anti-virus statistics entries by destination IP address, source IP
address, or virus name.
virus-name: lists the most common viruses detected.
source(6): lists the source IP addresses (IPv4 or IPv6) having the most number virus-
infected files.
destination(6): lists the most common destination IP addresses (IPv4 or IPv6) for
virus-infected files.
Router(config)# anti-virus statistics collect
Router(config)# show anti-virus statistics collect
collect statistics: yes
Router(config)# show anti-virus statistics summary
virus detected: 0
Router(config)# show anti-virus statistics ranking destination