show access-list counter

show access-list counter {countername} {any | ports port_list | vlan vlan_name} {ingress | egress}

Description

Displays the specified access list counters.

Syntax Description

countername Specifies the ACL counter to display.
port_list Specifies to display the counters on these ports.
vlan_name Specifies to display the counters on the VLAN.
ingress Specifies to display ingress counters.
egress Specifies to display egress counters.

Default

The default direction is ingress.

Usage Guidelines

Use this command to display the ACL counters.

Example

The following example displays all the counters for all ACLs:

# sh access-list counter 
Policy Name       Vlan Name        Port   Direction  
    Counter Name                   Packet Count         Byte Count           
==================================================================
temp              *                15     ingress   
    mac1                           0                                         
    mac2                           2720                                      
egressdeny        *                15     egress    
    mac01count                     0                                         
temp              *                20     egress    
    mac1                           0                                         
    mac2                           0     

History

This command was first available in ExtremeXOS 10.1.

The egress option was first available in ExtremeXOS 11.3.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.