674
application statistics enable
Use
application statistics enable
to enable the application statistics feature on the specified
direction of an interface.
Use
undo application statistics enable
to disable the application statistics feature on the specified
direction of an interface.
Syntax
application statistics enable
[
inbound
|
outbound
]
undo application statistics enable
[
inbound
|
outbound
]
Default
The application statistics feature is disabled on both directions of an interface.
Views
Layer 3 interface view
Predefined user roles
network-admin
Parameters
inbound
: Specifies the inbound direction of the interface.
outbound
: Specifies the outbound direction of the interface.
Usage guidelines
IMPORTANT:
The application statistics feature consumes a large amount of system memory. When the system
generates a low-memory alarm, disable the application statistics feature on interfaces.
If no direction is specified, application statistics is enabled in both the inbound and outbound
directions.
When this feature is enabled, the device separately counts the number of packets or bytes that the
interface has received or sent for each application protocol. It also calculates the transmission rates
of the interface for these protocols.
To display application statistics, use the
display application statistics
command.
Examples
# Enable application statistics in the inbound direction of GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] application statistics enable inbound
# Enable application statistics in the outbound direction of GigabitEthernet 1/0/2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] application statistics enable outbound
# Enable application statistics in the inbound and outbound directions of GigabitEthernet 1/0/3.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] application statistics enable