View ACE Statistics
View ACE statistics to ensure that the filter operates correctly.
Procedure
Examples
View ACE statistics:
Note
Based on your hardware platform, the output can display the ACL packets by ACE type or Primary Bank or Secondary Bank.
Switch:1>enable Switch:1#show filter acl statistics all ========================================================================================= Acl Global Statistics Table ========================================================================================= Acl Id Acl Name Acl Type Acl Sec Acl Sec Acl QOS Acl QOS Acl Acl Packets Bytes Packets Bytes Packets Bytes ----------------------------------------------------------------------------------------- 1 ACL-1 inVlan 0 0 0 0 0 0 2 ACL-2 inVlan 0 0 0 0 0 0 Displayed 2 of 2 entries ========================================================================================= Acl Default Statistics Table ========================================================================================= Acl Id Acl Name Acl Type Acl Sec Acl Sec Acl QOS Acl QOS Acl Acl Packets Bytes Packets Bytes Packets Bytes ----------------------------------------------------------------------------------------- 1 ACL-1 inVlan 0 0 0 0 0 0 2 ACL-2 inVlan 0 0 0 0 0 0 Displayed 2 of 2 entries
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
Note
IPv4 policer statistics for red, yellow, and green packets are available on VSP 7400 Series. 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 policer statistics on VSP 4900 Series.
Note
Only IPv4 policer statistics for red packets are available on VSP 4900 Series. Yellow and green packet counters are not supported on VSP 4900 Series. Statistics display as numbers, which represent the hit number of packets and bytes.
Switch:1(config)#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 ------------------------------------------------------------------------------------------------------------ 3 3 29964026 106591916 N/A N/A N/A N/A 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 |
---|---|
<acl-id> |
Specifies the ACL ID. Use the CLI Help to see the available range for the switch. |
<ace-id> |
Specifies the ACE ID. Different hardware platforms support different ACE ID ranges. Use the CLI Help to see the available range for the switch. |
policer Note:
Exception: only supported on VSP 4900 Series and VSP 7400 Series. |
Specifies the policer parameter for the command. |