R3102-R3103-HP 6600/HSR6600 Routers Security Command Reference
485
Field Descri
p
tion
Type
Type of the protected IP address. Dynamic indicates that the entry was
dynamically added by the device.
Lifetime(min)
Remaining lifetime of the entry. If the value of this field is 0, the entry is
deleted.
Rejected packets
Number of packets matching this entry that have been dropped by the
TCP proxy function.
flow-statistics enable
Use flow-statistics enable to enable traffic statistics collection on an interface.
Use undo flow-statistics enable to restore the default.
Syntax
flow-statistics enable { destination-ip | inbound | outbound | source-ip }
undo flow-statistics enable { destination-ip | inbound | outbound | source-ip }
Default
The traffic statistics collection function is disabled on an interface.
Views
Interface view
Default command level
2: System level
Parameters
destination-ip: Collects statistics on packets sent out of the current interface by destination IP address.
inbound: Collects statistics on packets received on the interface.
outbound: Collects statistics on packets sent out of the interface.
source-ip: Collects statistics on packets received on the current interface by source IP address.
Usage guidelines
You can enable multiple types of traffic statistics collections on an interface, and then use related display
commands to view the statistics collection results of each type.
Examples
# On interface GigabitEthernet 3/0/1, enable the traffic statistics collection by destination IP address.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] flow-statistics enable destination-ip
# You can use the following command to view statistics on packets sent out of the interface with the
destination IP address being 2.2.2.2 (you can specify the destination IP address as needed).
[Sysname-GigabitEthernet3/0/1] display flow-statistics statistics destination-ip 2.2.2.2
Related commands
display flow-statistics statistics










