show access-list dynamic counter

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

Description

Displays the dynamic ACL counters.

Syntax Description

countername Display the counter.
any Specifies the wildcard ACL.
port_list Specifies which ports‘ ACLs to display.
vlan_name Specifies which VLAN‘s ACL to display.
ingress Display ingress ACLs.
egress Display egress ACLs.

Default

The default is to display all interfaces, ingress.

Usage Guidelines

None.

Example

The following command displays all the dynamic ACL counters:

# sh access-list dynamic counter 
 Vlan Name        Port   Direction  
    Counter Name                   Packet Count         Byte Count           
==================================================================
*                15     ingress   
    mac1Count                      594                                       
 *                15     egress    
    egressCount                    0       

Example

The following command displays output with port number specified:

# sh access-list dynamic counter ports 15
Vlan Name        Port   Direction  
    Counter Name                   Packet Count         Byte Count           
==================================================================
*                15     ingress   
    mac1Count                      757                                       
 *                15     egress    
    egressCount                    0         

Example

The following command displays output with counter name specified:

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

History

This command was first available in ExtremeXOS 11.3.

Platform Availability

This command is available on all Universal switches supported in this document.