display sac protocol-statistic
Function
The display sac protocol-statistic command displays statistics on packets of different SAC application protocols
Format
display sac protocol-statistic { period | total } { inbound | outbound | all } { protocol protocol-name | top-n number } { ap-id ap-id radio-id radio-id ssid ssid | ap-name ap-name radio-id radio-id ssid ssid | user user-mac }
Parameters
Parameter |
Description |
Value |
---|---|---|
period | Displays packet statistics collected in a period, that is, 60 seconds. |
- |
total | Displays all the collected data. |
- |
inbound | Displays statistics on incoming packets. |
- |
outbound | Displays statistics on outgoing packets. |
- |
all | Displays statistics on packets of all SAC application protocols. |
- |
protocol protocol-name | Displays statistics on packets of a specified SAC application protocol. |
The value is a string of case-insensitive characters without spaces. The protocol must be in the signature database. |
top-n number | Displays statistics on packets with the largest number of bytes of the first Nth SAC application protocols. |
The value is an integer that ranges from 1 to 10. |
ap-id ap-id | Displays statistics on packets with a specified AP ID. |
The AP ID must exist. |
ap-name ap-name | Displays packet statistics on a specified AP. |
The AP name must exist. |
radio-id radio-id | Displays packet statistics on a specified radio. |
The radio ID must exist. |
ssid ssid | Displays statistics on packets with a specified SSID. |
The SSID must exist. |
user user-mac | Displays statistics on packets with a specified MAC address. |
The MAC address must exist. |
Usage Guidelines
Usage Scenario
When the SAC statistics collection function is enabled, you can run the display sac protocol-statistic command to check statistics on packets of different SAC application protocols.
Prerequisites
The SAC statistics collection function has been enabled using the user-protocol-statistic enable and vap-protocol-statistic enable commands.
Precautions
If there is no packet of an SAC application protocol, the statistics on packets of the protocol are empty.
In tunnel forwarding mode, you cannot query statistics on packets of SAC application protocols between different users in the same service VLAN on an AP.
Example
# Display statistics on incoming email packets with MAC address 1000-0000-0001 collected in a period.
<AC6605> display sac protocol-statistic period inbound protocol email user 1000-0000-0001
Protocol Direction Packets Bytes
--------------------------------------------------------------------------
email Inbound 1000 100000
--------------------------------------------------------------------------
Item |
Description |
---|---|
Protocol |
SAC application protocol. |
Direction |
|
Packets |
Number of forwarded packets after SAC is enabled. |
Bytes |
Number of forwarded bytes after SAC is enabled. |