View ACE Statistics
View ACE statistics to ensure that the filter operates correctly.
Procedure
Examples
View ACE statistics:
Switch:1#show filter acl statistics all =========================================================================================================== Acl Default Statistics Table ============================================================================================================ Acl Id Acl Name Acl Type Primary Bank Primary Bank Secondary Bank Secondary Bank Acl Acl Packets Bytes Packets Bytes Packets Bytes ------------------------------------------------------------------------------------------------------------- 1 ACL-1 inVlan 1360 92480 1360 92480 2720 184960 Displayed 1 of 1 entries
View filter acl ace policer statistics:
Note
IPv4 policer statistics are available for red, yellow, and green packets. Statistics display as numbers, which represent the hit number of packets and bytes.
Switch:1#show filter acl statistics 3 3 policer ========================================================================================================= Acl Ace Policer Table ========================================================================================================= Acl Id Ace Id Packets Bytes Green Green Yellow Yellow Red Red Packets Bytes Packets Bytes Packets Bytes --------------------------------------------------------------------------------------------------------- 3 3 29964026 106591916 142584 14254 142574 277225 28869904 10275810600
View filter acl ace statistics with no policer configured.
Switch:1(config)#show filter acl statistics 3 3 ============================================================================================================ Acl Ace Policer Table ============================================================================================================ Acl Id Ace Id Packets Bytes Green Green Yellow Yellow Red Red Packets Bytes Packets Bytes Packets Bytes ------------------------------------------------------------------------------------------------------------ 10 1001 0 0 N/A N/A N/A N/A N/A N/A Displayed 1 of 1 entries
View filter acl ace statistics with filter ACE enabled and policer configured, but the filter is not hit or there is no traffic running.
Switch:1(config)#show filter acl statistics 10 1011 ============================================================================================================ Acl Ace Policer Table ============================================================================================================ Acl Id Ace Id Packets Bytes Green Green Yellow Yellow Red Red Packets Bytes Packets Bytes Packets Bytes ------------------------------------------------------------------------------------------------------------ 3 3 0 0 0 0 0 0 0 0 Displayed 1 of 1 entries
View filter acl ace statistics with filter ACE not enabled and policer not configured
Switch:1(config)#show filter acl statistics ============================================================================================================ Acl Ace Policer Table ============================================================================================================ Acl Id Ace Id Packets Bytes Green Green Yellow Yellow Red Red Packets Bytes Packets Bytes Packets Bytes ------------------------------------------------------------------------------------------------------------ Displayed 1 of 1 entries
Variable Definitions
The following table defines parameters for the show filter acl statistics command.
Variable |
Value |
---|---|
<1-2048> |
Specifies the ACL ID. |
<1-2000> |
Specifies the ACE ID. |
policer |
Specifies the policer parameter for the command. |