442
Examples
# Display information about all IP addresses protected by the TCP proxy function.
<Sysname> display tcp-proxy protected-ip
Protected IP Port Number Type Lifetime(min) Rejected packets
1.1.1.1 any Dynamic 1 2
Table 78 Command output
Field Description
Protected IP
IP address under the protection of TCP proxy.
Port Number
Destination port number of the TCP connection request.
If the value of this field is
any
, the TCP proxy processes all TCP
connection requests destined for the IP address.
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.