797
Usage guidelines
If you specify neither the
ip
keyword nor the
ipv6
keyword, the system displays statistics for all object
policies applied to the specified zone pair.
Examples
# Display statistics for all object policies applied to the zone pair with source security zone
office
and
destination security zone
library
.
<Sysname> display object-policy statistics zone-pair security source office destination
library
Object-policy apply ip OfficeToLibrary
rule 0 pass source-ip sourceip1 (5 packets,10 bytes)
Object-policy apply ipv6 OfficeToLibraryIPv6
rule 0 pass source-ip sourceip3 (6 packets,13 bytes)
Table 120 Command output
Field
Description
Object-policy apply ip OfficeToLibrary
Name of the IPv4 object policy applied to the zone pair.
rule 0 pass source-ip sourceip1
Statement of rule 0. The value of
sourceip1
is the name of
the source IPv4 address object group.
Object-policy apply ipv6 OfficeToLibraryIPv6
Name of the IPv6 object policy applied to the zone pair.
rule 0 pass source-ip sourceip3
Statement of rule 0. The value of
sourceip3
is the name of
the source IPv6 address object group.
x packets,y bytes
The rule has matched x packets, a total of y bytes. This field
is displayed only when the following conditions exist:
•
The
counting
or
logging
keyword is specified in the
rule
command.
•
The rule has been matched.
Related
commands
reset object-policy statistics
display object-policy zone-pair security
Use
display
object-policy zone-pair security
to display information about the object policies
applied to zone pairs.
Syntax
display object-policy zone-pair security
[
source
source-zone-name
destination
destination-zone-name
]
Views
Any view
Predefined
user
roles
network-admin
network-operator
Parameters
source source-zone-name
: Specifies a source security zone name, a case-insensitive string of 1 to
31 characters.