Displaying Statistics on Application Protocol Packets
Context
When the SA statistics function is enabled on an interface, you can check statistics on SA application protocol packets on the interface. You can also check the statistics on application protocol packets with the most number of bytes. The statistics help you learn information about application protocol packets and network usage.
Procedure
- Run the system-view command to enter the system view.
- Run the interface interface-type interface-number command to enter the interface view.
- Run the sa application-statistic enable command to enable the SA statistics function.
- Run the display sa application-statistic { application application-name | top-n number | all } interface { interface-type interface-number | virtual-template vt-number virtual-access va-number } [ inbound | outbound ] command to check statistics on packets of SA application protocols.
After the reset session all command is used to delete all session table information, run the reset engine session table command to clear engine session information. Then you can collect statistics on application protocol packets.
SA cannot identify a protocol of which a connection has been set up. To ensure that SA can identify the protocol, terminate the connection, and then establish the connection.