show filter acl statistics

View port statistics to ensure that the access control entry (ACE) operates correctly.

Syntax

Command Parameters

security
Shows ACL statistics for Security ACEs
<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.

<acl-id>

Specifies the ACL ID. Use the CLI Help to see the available range for the switch.

all
Shows all statistics for all access control entry.
default
Shows traffic statistics for access control entry..
global
Shows global statistics for access control entry.
policer
Shows policer statistics for access control entry.
qos
Shows statistics for Quality of Service (QoS) access control entries.

Default

None

Command Mode

Privileged EXEC

Command Output

The show filter acl statistics command displays the following information:

Parameter

Description

Acl ID

Specifies the identifier for the ACL.

Acl Name

Specifies the name for the ACL.

Acl Type

Specifies the ACL type.

Acl Sec Packets

Specifies the ACL secondary packets.

Acl Sec Bytes

Specifies the ACL secondary bytes.

Acl QoS Packets

Specifies the ACL QoS packets.

Acl QoS Bytes

Specifies the ACL QoS bytes.

Examples

Note

Note

Based on your hardware platform, the output can display all the ACL packets or segregate them as QoS and security ACL packets.

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 default

=========================================================================================
                          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 global 

=========================================================================================
                          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       inPort    N/A        N/A        N/A        N/A       261      21924
Displayed 1 of 1 entries

Usage Guidelines

The show filter acl statistics <acl> <ace> policer command displays statistics according to the configuration on the switch.

This command does not apply to all hardware platforms. For more information about feature support, see Fabric Engine Feature Support Matrix.